llvm-project/lld/test/ELF/lto
Rafael Espindola 8db87291ef Internalize common variables.
Before this lld was always creating common symbols itself. It worked,
but prevented them from being internalized when possible.

Now it preserves common symbols is the bitcode and they are internalized.

Fixes pr30184.

llvm-svn: 280242
2016-08-31 13:42:08 +00:00
..
Inputs Internalize common variables. 2016-08-31 13:42:08 +00:00
archive-2.ll [LTO] Fix symbols which were internalized incorrectly. 2016-04-02 02:10:40 +00:00
archive-3.ll Fix another case of propagating IsUsedRegularObj. 2016-04-05 01:38:43 +00:00
archive.ll Handle bitcode files in archive files with --whole-archive. 2016-02-23 18:17:11 +00:00
asmundef.ll [LTO] Include ASM undefs in llvm.compiler_used. 2016-06-22 18:09:23 +00:00
available-externally.ll [LTO] Add a test to ensure we treat externally available symbols correctly. 2016-03-30 21:01:14 +00:00
combined-lto-object-name.ll Teach Undefined symbols from which file they are created from. 2016-05-02 21:30:42 +00:00
comdat.ll Handle comdat in LTO. 2016-03-02 15:43:50 +00:00
comdat2.ll [LTO] Create Undefined Bitcode symbol when we drop a comdat member. 2016-04-22 18:26:33 +00:00
common.ll Add support for common symbols. 2016-03-07 19:15:57 +00:00
common2.ll Internalize common variables. 2016-08-31 13:42:08 +00:00
common3.ll Internalize common variables. 2016-08-31 13:42:08 +00:00
ctors.ll [LTO] Inherit options from Codegen before initializing TargetMachine. 2016-04-01 00:35:29 +00:00
discard-value-names.ll LTO: Merge -lto-no-discard-value-names with -save-temps. 2016-04-22 21:43:10 +00:00
drop-debug-info.ll [LTO] Don't crash on old DebugInfo. 2016-05-11 01:07:22 +00:00
drop-linkage.ll Fix test to run everywhere. 2016-04-21 15:51:28 +00:00
duplicated.ll This reverts the r263125 2016-03-11 14:43:02 +00:00
dynamic-list.ll ELF: Scan for undefined symbols in shlibs and symbols in dynamic lists before LTO. 2016-04-22 18:47:52 +00:00
dynsym.ll Add triple to llvm-mc command line. Should fix Windows bot. 2016-04-05 01:05:42 +00:00
inline-asm.ll [lto] Initialize asmparsers. 2016-03-10 04:58:52 +00:00
internalize-basic.ll [LTO] Internalize symbols. 2016-03-28 15:44:21 +00:00
internalize-exportdyn.ll ELF: Add a test showing that the new local_unnamed_addr attribute can permit internalization. 2016-06-14 21:02:15 +00:00
internalize-llvmused.ll [LTO] Teach LTO about @llvm.used global. 2016-03-29 21:46:35 +00:00
internalize-undef.ll Change the type hierarchy for undefined symbols. 2016-04-06 13:22:41 +00:00
internalize-version-script.ll ELF: Implement basic support for --version-script. 2016-04-22 20:21:26 +00:00
invalid-bitcode.ll [LTO] Don't crash on a BitcodeFile without DataLayout. 2016-04-16 01:33:33 +00:00
irmover-error.ll Update LLD for D20550. 2016-05-27 05:21:45 +00:00
linkage.ll [lto] The previous testcase was not useful enough. 2016-03-11 05:42:34 +00:00
linkonce-odr.ll [ELF] - Error out when R_X86_64_PC32/R_X86_64_32 are used against preemptible symbol when linking shared object. 2016-03-29 08:35:42 +00:00
linkonce.ll [ELF] - Error out when R_X86_64_PC32/R_X86_64_32 are used against preemptible symbol when linking shared object. 2016-03-29 08:35:42 +00:00
lto-start.ll
ltopasses-basic.ll PR27104: Add -mllvm option 2016-04-02 01:39:56 +00:00
ltopasses-custom.ll [LTO] Add --lto-aa-pipeline. 2016-06-02 22:58:11 +00:00
metadata.ll [lto] Don't lazy load metadata for now. 2016-03-09 18:38:40 +00:00
mix-platforms.ll Convert DOS-style newlines. 2016-06-29 10:39:00 +00:00
module-asm.ll ELF: Implement basic support for module asm in bitcode files. 2016-04-11 16:39:43 +00:00
opt-level.ll [LTO] Add a test to ensure we reject negative opt level. 2016-04-03 03:12:00 +00:00
parallel-internalize.ll ELF: Undefine all symbols, not just those that we expect to be defined. 2016-05-05 17:13:49 +00:00
parallel.ll [LTO] Add datalayout to test to prevent an assertion in Debug mode. 2016-04-15 22:58:57 +00:00
pic.ll [LTO] Infer ELFKind/EMachine from Bitcode files 2016-06-29 06:12:39 +00:00
relax-relocs.ll Revert "Revert "Add a test showing that lto produces relaxable relocations."" 2016-06-21 14:47:43 +00:00
resolution.ll Use IRMover directly. 2016-03-05 14:51:51 +00:00
save-temps.ll Attempt to fix non-determinism in test. 2016-06-05 01:04:59 +00:00
shlib-undefined.ll ELF: Scan for undefined symbols in shlibs and symbols in dynamic lists before LTO. 2016-04-22 18:47:52 +00:00
start-lib.ll Fix another crash bug in --start-lib. 2016-04-08 21:38:22 +00:00
tls-mixed.ll [lto] Record whether a variable is TLS. 2016-03-09 00:47:47 +00:00
tls-preserve.ll [LTO] Fix (incorrect) TLS attribute mismatch. 2016-06-01 16:38:13 +00:00
type-merge.ll [LTO] Add a test to ensure we handle basic type merging correctly. 2016-04-20 18:10:25 +00:00
type-merge2.ll LTO: Merge -lto-no-discard-value-names with -save-temps. 2016-04-22 21:43:10 +00:00
undef-mixed.ll 1Fix handling of undef in partial LTO. 2016-03-02 18:21:46 +00:00
undef-weak.ll lto: don't fetch members for weak undef. 2016-02-29 14:29:48 +00:00
undef.ll Remove bogus assert. 2016-02-29 13:46:39 +00:00
undefined-puts.ll Don't depend on lld creating relocations in ro segments. 2016-04-30 00:49:10 +00:00
unnamed-addr-comdat.ll Internalize symbols in comdats. 2016-06-15 17:56:10 +00:00
unnamed-addr-drop.ll [LTO] Fix the logic for dropping unnamed_addr. 2016-08-30 20:15:03 +00:00
unnamed-addr-lib.ll [LTO] Fix the logic for dropping unnamed_addr. 2016-08-30 20:15:03 +00:00
unnamed-addr.ll [LTO] Another couple of tests for cases we already get right. 2016-04-21 04:50:08 +00:00
verify-invalid.ll Fix -disable-verify test. 2016-04-04 17:42:01 +00:00
version-script.ll [ELF] - Recommit r273143("[ELF] - Basic versioned symbols support implemented.") 2016-06-20 11:55:12 +00:00
visibility.ll [ELF] Follow-up to r264300. Update test case expectations to reflect recent changes in llvm-readobj. NFC. 2016-03-24 16:30:20 +00:00
weak.ll Add support for weak symbols in LTO. 2016-02-25 16:25:41 +00:00