1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/test/ThinLTO/X86
Teresa Johnson de773ccc50 [ThinLTO] Don't link module level assembly when importing
Module inline asm was always being linked/concatenated
when running the IRLinker. This is correct for full LTO but not when
we are importing for ThinLTO, as it can result in multiply defined
symbols when the module asm defines a global symbol.

In order to test with llvm-lto2, I had to work around PR30396,
where a symbol that is defined in module assembly but defined in the
LLVM IR appears twice. Added workaround to llvm-lto2 with a FIXME.

Fixes PR30610.

Reviewers: mehdi_amini

Subscribers: llvm-commits

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

llvm-svn: 284030
2016-10-12 18:39:29 +00:00
..
Inputs [ThinLTO] Don't link module level assembly when importing 2016-10-12 18:39:29 +00:00
alias_import.ll
alias_resolution.ll
autoupgrade.ll
cache.ll ThinLTO: don't perform incremental LTO on module without a hash 2016-10-08 04:44:23 +00:00
crash_debuginfo.ll DebugInfo: New metadata representation for global variables. 2016-09-13 01:12:59 +00:00
dicompositetype-unique.ll
distributed_indexes.ll
drop-debug-info.ll
emit_imports.ll [ThinLTO] Always emit a summary when compiling in ThinLTO mode 2016-09-20 23:07:17 +00:00
empty_module_with_cache.ll ThinLTO: don't perform incremental LTO on module without a hash 2016-10-08 04:44:23 +00:00
funcimport.ll [ThinLTO] Add an option to llvm-lto to print some basic statistics for the index 2016-09-14 21:04:59 +00:00
internalize.ll [LTO] Fix test following r279550 2016-08-23 19:32:41 +00:00
linkonce_resolution_comdat.ll
lit.local.cfg
llvm.used.ll
module_asm_glob.ll [ThinLTO] Don't link module level assembly when importing 2016-10-12 18:39:29 +00:00
prefix_replace.ll
referenced_by_constant.ll
section.ll
select_right_alias_definition.ll
weak_resolution_single.ll
weak_resolution.ll