llvm-project/llvm/test/ThinLTO/X86
Daniel Kiss 83dc4734ba Fix -fsplit-lto-unit with ifuncs
ifuncs can't take part of the whole-program devirtualization so no need them to be copied to the merged module.
The corresponding resolver function also kept out which caused the crash.

Fixes #60962 #57870

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D144982
2023-03-21 15:36:13 +01:00
..
Inputs [ThinLTO] Convert tests to opaque pointers (NFC) 2022-12-13 17:04:09 +01:00
alias_import.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
alias_internal.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
alias_resolution.ll [ThinLTO] Convert tests to opaque pointers (NFC) 2022-12-13 17:04:09 +01:00
alias-ifunc.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
asm.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
autoupgrade.ll
builtin-nostrip-aix.ll
builtin-nostrip.ll
cache-config.ll [CodeGen] Default TargetOptions::RelaxELFRelocations to true 2023-01-05 13:28:48 -08:00
cache-icall.ll [ThinLTO] Convert tests to opaque pointers (NFC) 2022-12-13 17:04:09 +01:00
cache-import-lists.ll
cache-typeid-resolutions.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
cache.ll
callees-metadata.ll
cfi-devirt.ll [ThinLTO] Convert tests to opaque pointers (NFC) 2022-12-13 17:04:09 +01:00
cfi-distributed.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
cfi-icall-only-defuse.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
cfi-icall.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
cfi-unsat.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
cfi.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
crash_debuginfo.ll
ctor-dtor-alias.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
ctor-dtor-alias2.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
deadstrip.ll
debuginfo-compositetype-import.ll
debuginfo-cu-import.ll
devirt_after_filtering_unreachable.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
devirt_alias.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
devirt_available_externally.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
devirt_check.ll
devirt_external_comdat_same_guid.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
devirt_function_alias.ll [ThinLTO/WPD] Handle function alias in vtable correctly 2023-02-16 18:20:12 -08:00
devirt_function_alias2.ll [LTO/WPD] Allow devirtualization to function alias in vtable 2023-02-23 14:04:05 -08:00
devirt_local_same_guid.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
devirt_multiple_type_test.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
devirt_promote_legacy.ll [ThinLTO] Convert tests to opaque pointers (NFC) 2022-12-13 17:04:09 +01:00
devirt_promote.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
devirt_pure_virtual_base.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
devirt_single_hybrid.ll
devirt_vcall_vis_hidden.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
devirt_vcall_vis_public.ll
devirt-after-icp.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
devirt.ll [llvm] Teach whole program devirtualization about relative vtables 2023-02-23 22:18:43 +00:00
devirt2.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
diagnostic-handler-remarks-with-hotness.ll
diagnostic-handler-remarks.ll
dicompositetype-unique-alias.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
dicompositetype-unique.ll
dicompositetype-unique2.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
distributed_import.ll
distributed_indexes.ll
dontcall.ll
dot-dumper-full-lto.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
dot-dumper.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
dot-dumper2.ll
drop-debug-info.ll
dsolocal_dllimport.ll
DSOLocalEquivalent.ll
emit_imports.ll
emit-inprocess-files.ll
empty_module_with_cache.ll
empty-module.ll [ThinLTO] Convert tests to opaque pointers (NFC) 2022-12-13 17:04:09 +01:00
export.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
funcattrs-prop-exported-internal.ll
funcattrs-prop-maythrow.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
funcattrs-prop-undefined.ll
funcattrs-prop-unknown.ll [ConstExpr] Remove select constant expression 2023-03-16 10:32:08 +01:00
funcattrs-prop-weak.ll
funcattrs-prop.ll
funcimport_alwaysinline.ll
funcimport-debug.ll
funcimport-stats.ll
funcimport-tbaa.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
funcimport.ll [ThinLTO] Convert tests to opaque pointers (NFC) 2022-12-13 17:04:09 +01:00
funcimport2.ll
function_entry_count.ll
globals-import-blockaddr.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
globals-import-const-fold.ll
globals-import.ll
guid_collision.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
hidden-escaped-symbols-alt.ll
hidden-escaped-symbols.ll
ifunc_splitlto.ll Fix -fsplit-lto-unit with ifuncs 2023-03-21 15:36:13 +01:00
import_opaque_type.ll [ThinLTO] Convert tests to opaque pointers (NFC) 2022-12-13 17:04:09 +01:00
import-constant.ll [GlobalOpt] Extend CleanupPointerRootUsers to handle CE users. 2023-03-02 10:12:24 +01:00
import-dsolocal.ll
import-metadata.ll
import-ro-constant.ll
import-symver.ll
index-const-prop-alias.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
index-const-prop-cache.ll
index-const-prop-comdat.ll
index-const-prop-dead.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
index-const-prop-full-lto.ll
index-const-prop-gvref-pie.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
index-const-prop-gvref.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
index-const-prop-ldst.ll
index-const-prop-linkage.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
index-const-prop-O0.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
index-const-prop.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
index-const-prop2.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
internalize.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
lazyload_metadata.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
linkonce_aliasee_ref_import.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
linkonce_odr_unnamed_addr.ll
linkonce_resolution_comdat.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
lit.local.cfg
llvm-stats-import.ll [llvm_stats] Do not import llvm.stats metadata for thinlto 2022-11-28 16:47:20 -08:00
llvm.used.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
load-store-caching.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
local_name_conflict_var.ll
local_name_conflict.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
lower_type_test_phi.ll
mangled_symbol.ll
memprof-summary.ll [MemProf] Fix combined index handling for locals 2023-01-09 14:11:43 -08:00
merge-triple.ll
module_asm_glob.ll
module_asm2.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
module_summary_graph_traits.ll
newpm-basic.ll
nodevirt-nonpromoted-typeid.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
noinline.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
nossp.ll
not-internalized.ll
personality-local.ll
personality.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
pr35472.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
prefix_replace.ll
printer.ll
promote-local-name.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
pseudo-probe-desc-import.ll
public-type-test.ll
reference_non_importable.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
referenced_by_constant.ll
save_objects.ll
section.ll
selective-save-temps.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
strong_non_prevailing.ll
thinlto-internalize-doublepromoted.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
thinlto-internalize-used.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
tli-nobuiltin.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
type_test_noindircall.ll [ThinLTO] Convert tests to opaque pointers (NFC) 2022-12-13 17:04:09 +01:00
visibility-elf.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
visibility-macho.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
weak_externals.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
weak_globals_import.ll
weak_resolution_single.ll
weak_resolution.ll ThinLTO: Convert tests to opaque pointers 2022-11-27 19:49:43 -08:00
windows-vftable.ll [LTO] Make local linkage GlobalValue in non-prevailing COMDAT available_externally 2022-11-16 22:13:22 -08:00
writeonly-with-refs.ll
writeonly.ll
writeonly2.ll