llvm-project/lld/test/ELF/lto
Bob Haarman 2d2b5b09e0 COFF: include archive name in LTO object name
Summary: In the ELF linker, we create the buffer identifier for bitcode files by appending the object name to the archive name. This change makes the COFF linker do the same. Without the change, ThinLTO builds can fail with an error message about multiple ThinLTO modules per object file, caused by object files contained in different archives having the same name.

Reviewers: pcc, ruiu

Reviewed By: pcc

Subscribers: mehdi_amini

Differential Revision: https://reviews.llvm.org/D31402

llvm-svn: 298942
2017-03-28 21:20:06 +00:00
..
Inputs Address a few nits pointed out by Sean. 2017-03-02 02:24:31 +00:00
archive-2.ll [LTO] Fix symbols which were internalized incorrectly. 2016-04-02 02:10:40 +00:00
archive-3.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
archive-no-index.ll COFF: include archive name in LTO object name 2017-03-28 21:20:06 +00:00
archive.ll Removed a test that should've been removed with r282916. 2016-09-30 20:17:26 +00:00
asmundef.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
available-externally.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
bitcode-nodatalayout.ll [LTO] Catch up with llvm. Modules without DL are now considered invalid. 2016-12-14 21:58:26 +00:00
cache.ll Support, LTO: When pruning a directory, ignore files matching a prefix. 2017-03-20 16:41:57 +00:00
codemodel.ll [ELF] - Allow the Code Model flag when using LTO 2017-02-28 23:43:26 +00:00
combined-lto-object-name.ll Change the way how we print out line numbers. 2016-11-21 13:49:57 +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 [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
common3.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40: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 [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
drop-debug-info.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
drop-linkage.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
duplicated.ll [ELF] Better error reporting for duplicate symbol 2016-11-08 16:26:32 +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 [GC] Don't crash when printing the special Discarded GC section. 2016-09-19 23:15:51 +00:00
inline-asm.ll [lto] Initialize asmparsers. 2016-03-10 04:58:52 +00:00
internalize-basic.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
internalize-exportdyn.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
internalize-llvmused.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
internalize-undef.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
internalize-version-script.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
irmover-error.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
linkage.ll [lto] The previous testcase was not useful enough. 2016-03-11 05:42:34 +00:00
linkonce-odr.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
linkonce.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
lto-start.ll
ltopasses-basic.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
ltopasses-custom.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
metadata.ll Fix TBAA metadata 2016-12-11 21:10:11 +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
opt-remarks.ll Options such as -omagic or -opt-remarks-* should be interpreted as -o. 2017-03-10 21:22:28 +00:00
parallel-internalize.ll ELF: Simplify naming of object files created with save-temps. 2017-01-26 02:18:28 +00:00
parallel.ll ELF: Simplify naming of object files created with save-temps. 2017-01-26 02:18:28 +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 [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
shlib-undefined.ll lld: Default image base address to 0x200000 on x86-64 2016-11-23 17:44:02 +00:00
start-lib.ll Fix another crash bug in --start-lib. 2016-04-08 21:38:22 +00:00
thin-archivecollision.ll Revert "[ThinLTO] Add an auto-hide feature" 2017-02-03 07:41:43 +00:00
thinlto.ll ELF: Simplify the thinlto.ll test and verify that importing is working correctly. 2017-02-22 23:06:49 +00:00
timepasses.ll [ELF] Clarify why `lld -flavor gnu` is used. 2016-11-14 18:20:20 +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 [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
type-merge2.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +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 ELF: Place relro sections after non-relro sections in r/w segment. 2017-01-10 01:21:30 +00:00
unnamed-addr-comdat.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
unnamed-addr-drop.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
unnamed-addr-lib.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
unnamed-addr.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
verify-invalid.ll Fix -disable-verify test. 2016-04-04 17:42:01 +00:00
version-script.ll [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
visibility.ll ELF: Place relro sections after non-relro sections in r/w segment. 2017-01-10 01:21:30 +00:00
weak.ll Add support for weak symbols in LTO. 2016-02-25 16:25:41 +00:00