llvm-project/lld/test/ELF/lto
Fangrui Song 74bece8dde [WPD][ELF] Allow whole program devirtualization for version script localized symbols
A `local:` version node in a version script can change the effective symbol binding
to STB_LOCAL. The linker needs to communicate the fact to enable WPD
(otherwise LTO does not know that the `!vcall_visibility` metadata has
effectively changed from VCallVisibilityPublic to VCallVisibilityLinkageUnit).

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D98220
2021-03-09 22:33:47 -08:00
..
Inputs [WPD][lld] Test handling of vtable definition from shared libraries 2021-02-17 12:49:24 -08:00
aarch64.ll [ELF] Support aarch64_be 2021-02-08 08:55:29 -08:00
abs-resol.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
amdgcn-oses.ll [test] Fix unuses FileCheck prefixes in lld 2021-02-01 20:52:33 -08:00
amdgcn.ll
archive-2.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
archive-3.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
archive-mixed.test [lld][ELF][test] Add additional LTO testing 2020-09-21 10:18:09 +01:00
archive-no-index.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
archive.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
asmundef.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
available-externally.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
basic-block-sections.ll Append ".__part." to every basic block section symbol. 2020-12-23 11:35:44 -08:00
bitcode-nodatalayout.ll [ELF][test] Change -o %t to -o /dev/null if the output is not needed 2020-02-12 21:54:50 -08:00
bitcode-wrapper.ll [lld][ELF][test] Add additional test coverage for LTO 2020-10-23 09:51:30 +01:00
cache.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
codemodel.ll [llvm-objdump] -d: print `00000000 <foo>:` instead of `00000000 foo:` 2020-03-05 18:05:28 -08:00
combined-lto-object-name.ll [ELF][test] Change -o %t to -o /dev/null if the output is not needed 2020-02-12 21:54:50 -08:00
comdat.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
comdat2.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
common.ll [lld][ELF][test] Add additional test coverage for LTO 2020-10-23 09:51:30 +01:00
common2.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
common3.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
common4.ll [lld] NFC: fix trivial typos in comments 2020-04-02 01:21:36 +09:00
cpu-string.ll [test] lld/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:48:36 -07:00
ctors.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
debugger-tune.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
defsym.ll [llvm-objdump] -d: print `00000000 <foo>:` instead of `00000000 foo:` 2020-03-05 18:05:28 -08:00
deplibs.s [ELF] Implement Dependent Libraries Feature 2019-05-17 03:44:15 +00:00
devirt_vcall_vis_export_dynamic.ll [lld] Reorder cases in test to match comments (NFC) 2021-02-13 16:32:39 -08:00
devirt_vcall_vis_localize.ll [WPD][ELF] Allow whole program devirtualization for version script localized symbols 2021-03-09 22:33:47 -08:00
devirt_vcall_vis_public.ll [LTO] Prevent devirtualization for symbols dynamically exported 2021-01-27 15:54:13 -08:00
devirt_vcall_vis_shared_def.ll [WPD][lld] Test handling of vtable definition from shared libraries 2021-02-17 12:49:24 -08:00
discard-value-names.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
drop-debug-info.ll
drop-linkage.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
duplicated-name.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
duplicated.ll [ELF][test] Change -o %t to -o /dev/null if the output is not needed 2020-02-12 21:54:50 -08:00
dynamic-list.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
dynsym.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
emit-asm.ll [lld] Support --lto-emit-asm and --plugin-opt=emit-asm 2020-04-27 11:00:46 -07:00
emit-llvm.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
exclude-libs-libcall.ll [ELF] --exclude-libs: localize defined libcall symbols referenced by lto.tmp 2021-01-11 09:33:22 -08:00
init-fini.ll Keep symbols passed by -init and -fini 2019-11-08 19:08:15 +09:00
inline-asm.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
internalize-basic.ll [lld][ELF][test] test LTO-removed symbols are not in symtab 2020-11-04 20:06:20 +00:00
internalize-exportdyn.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
internalize-llvmused.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
internalize-undef.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
internalize-version-script.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
irmover-error.ll [ELF][test] Change -o %t to -o /dev/null if the output is not needed 2020-02-12 21:54:50 -08:00
irmover-warning.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
keep-undefined.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
lazy-internal.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
libcall-archive.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
linkage.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
linker-script-symbols-assign.ll [LTO] Suppress emission of empty combined module by default 2020-05-04 18:31:09 -07:00
linker-script-symbols-ipo.ll [X86InstPrinter] Change printPCRelImm to print the target address in hexadecimal form 2020-03-26 08:28:59 -07:00
linker-script-symbols.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
linkonce-odr.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
linkonce.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
lto-start.ll [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
ltopasses-basic.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
ltopasses-custom.ll Revert "Revert "Reland "[Support] make report_fatal_error `abort` instead of `exit`""" 2020-02-13 10:16:06 -08:00
metadata.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
mix-platforms.ll [ELF][test] Change -o %t to -o /dev/null if the output is not needed 2020-02-12 21:54:50 -08:00
mix-platforms2.ll [ELF][test] Change -o %t to -o /dev/null if the output is not needed 2020-02-12 21:54:50 -08:00
mllvm.ll [ELF] Fix multiple -mllvm after D70378 2020-09-29 10:26:58 -07:00
module-asm.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
new-pass-manager.ll [ELF] Rename --[no-]lto-new-pass-manager to --[no-]lto-legacy-pass-manager 2020-12-09 17:53:37 -08:00
non-ascii-filenames.ll [lld][ELF][test] Add additional test coverage for LTO 2020-10-23 09:51:30 +01:00
obj-path.ll [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
opt-level.ll [ELF][test] Change -o %t to -o /dev/null if the output is not needed 2020-02-12 21:54:50 -08:00
opt-remarks.ll [Remarks][1/2] Expand remarks hotness threshold option support in more tools 2020-11-30 21:55:49 -08:00
parallel-internalize.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
parallel.ll [LLD] Fix tests after D96993 2021-02-19 13:08:17 +01:00
pic.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
ppc64le.ll [PPC64] Handle ppc64le triple in getBitcodeMachineKind. 2018-09-20 00:26:49 +00:00
pseudo-probe-lto.ll [CSSPGO] LTO option for pseudo probe 2021-01-22 11:07:10 -08:00
r600.ll
relax-relocs.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
relocatable.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
relocation-model-pic.ll [LLD][ELF] Fix typo in relocation-model-pic.ll 2020-12-09 15:38:50 +01:00
relocation-model-static.ll [ELF] Fix relocation-model.ll 2020-12-04 19:33:19 -08:00
resolution-err.ll [test] Use host platform specific error message substitution in lit tests - continued 2021-02-03 09:53:22 -05:00
resolution.ll [lld][ELF][test] Add additional test coverage for LTO 2020-10-23 09:51:30 +01:00
riscv32.ll [ELF][RISCV] Support RISC-V in getBitcodeMachineKind 2019-07-03 02:13:11 +00:00
riscv64.ll [ELF][RISCV] Support RISC-V in getBitcodeMachineKind 2019-07-03 02:13:11 +00:00
sample-profile.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
save-temps.ll [ELF][test] Change references of %T to %t.dir 2019-10-30 09:22:48 -07:00
section-name.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
setting-dso-local.ll [ELF][test] Change -o %t to -o /dev/null if the output is not needed 2020-02-12 21:54:50 -08:00
shlib-undefined.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
slp-vectorize-pm.ll [ThinLTO] Pass CodeGenOpts like UnrollLoops/VectorizeLoop/VectorizeSLP 2020-01-09 21:13:11 -08:00
start-lib.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
symbol-ordering-data.s [ELF][test] Improve LTO tests 2019-09-07 08:20:09 +00:00
symbol-ordering-function.s [ELF][test] Improve LTO tests 2019-09-07 08:20:09 +00:00
thin-archivecollision.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
thinlto-cant-write-index.ll [test] Use host platform specific error message substitution in lit tests - continued 2021-02-03 09:53:22 -05:00
thinlto-debug-fission.ll [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
thinlto-emit-imports.ll [test] Use host platform specific error message substitution in lit tests - continued 2021-02-03 09:53:22 -05:00
thinlto-index-file.ll [ELF] Add convenience TableGen classes to enforce two dashes for options not supported by GNU ld 2020-05-08 07:37:06 -07:00
thinlto-index-only.ll [ELF] Fix --thinlto-index-only regression after D79300 2020-06-09 23:10:30 -07:00
thinlto-no-index.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
thinlto-obj-path.ll [ELF] Add convenience TableGen classes to enforce two dashes for options not supported by GNU ld 2020-05-08 07:37:06 -07:00
thinlto-object-suffix-replace.ll [ELF] Add convenience TableGen classes to enforce two dashes for options not supported by GNU ld 2020-05-08 07:37:06 -07:00
thinlto-prefix-replace.ll [ELF] Add convenience TableGen classes to enforce two dashes for options not supported by GNU ld 2020-05-08 07:37:06 -07:00
thinlto-single-module.ll [LLD][ThinLTO] Add --thinlto-single-module to allow compiling partial modules. 2020-06-10 15:32:30 -07:00
thinlto-thin-archive-collision.ll [LLD][ELF] Use offset in thin archives to disambiguate thinLTO members 2020-05-15 12:02:08 -07:00
thinlto-time-trace.ll [ELF] Enforce two-dash form for some LLD specific options and the newer --[no-]pcrel-optimize 2020-08-17 10:00:31 -07:00
thinlto.ll [LLD][ELF] Use offset in thin archives to disambiguate thinLTO members 2020-05-15 12:02:08 -07:00
timepasses.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
tls-mixed.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
tls-preserve.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
type-merge.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
type-merge2.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
undef-mixed.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
undef-mixed2.test [lld][ELF][test] Add additional LTO testing 2020-09-21 10:18:09 +01:00
undef-weak-lazy.ll [ELF] Set `referenced` bit of Undefined created by BitcodeFile 2019-08-30 07:10:30 +00:00
undef-weak.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
undef.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
undefined-puts.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
unnamed-addr-comdat.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
unnamed-addr-drop.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
unnamed-addr-lib.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
unnamed-addr.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
verify-invalid.ll [ELF] Rename --[no-]lto-new-pass-manager to --[no-]lto-legacy-pass-manager 2020-12-09 17:53:37 -08:00
version-libcall.ll [ELF] Make --version-script/--dynamic-list work for lazy symbols fetched by LTO libcalls 2020-04-06 09:47:06 -07:00
version-script.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
version-script2.ll [ELF][test] Fix lto/version-script2.ll 2020-12-01 10:22:33 -08:00
visibility.ll Reland "Change the X86 datalayout to add three address spaces 2019-09-10 23:15:38 +00:00
warn-backrefs.ll [lld][ELF] Don't write output to the test directory. NFC. 2020-10-26 18:10:31 +01:00
weak.ll [lld][ELF][test] Add a couple of test cases for LTO behaviour 2020-09-24 11:49:20 +01:00
weakodr-visibility.ll [llvm-objdump] -d: print `00000000 <foo>:` instead of `00000000 foo:` 2020-03-05 18:05:28 -08:00
wrap-1.ll [ELF] --wrap: don't unnecessarily expose __real_ 2020-09-30 20:09:25 -07:00
wrap-2.ll [lld][ELF][test] Add additional LTO testing 2020-09-21 10:18:09 +01:00
wrap-defined.ll [ELF] --wrap: retain __wrap_foo if foo is defined in an object/bitcode file 2021-01-22 09:20:29 -08:00