1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 21:42:54 +02:00
llvm-mirror/test
Teresa Johnson 215f45b06e [ThinLTO] Ensure prevailing linkonce emitted as weak in ThinLTO backends
Summary:
Since IR files are all compiled into separate independent object files
in ThinLTO mode, the prevailing linkonce symbols must be emitted in its
object file even if it is no longer referenced there, e.g. if no
references remain in the module after inlining, since it may be
referenced by another ThinLTO compiled object file. This is done by
changing LDPR_PREVAILING_DEF_IRONLY* symbols to LDPR_PREVAILING_DEF,
which converts the prevailing linkonce to weak. We also don't need the
other prevailing IRONLY handling for internalization, which is not
currently performed for ThinLTO.

Test case included.

Reviewers: davidxl, rafael

Subscribers: rafael, joker.eph, llvm-commits

Differential Revision: http://reviews.llvm.org/D16173

llvm-svn: 262727
2016-03-04 17:48:35 +00:00
..
Analysis [ValueTracking] Remove dead code from an old experiment 2016-03-03 19:44:06 +00:00
Assembler
Bindings
Bitcode [AVR] Add calling convention parser tokens 2016-03-03 10:08:02 +00:00
BugPoint
CodeGen [mips][microMIPS] Prevent usage of OR16_MMR6 instruction when code for microMIPS is generated. 2016-03-04 17:34:31 +00:00
DebugInfo [lanai] Fixing file path used in test 2016-03-03 00:30:02 +00:00
Examples
ExecutionEngine
Feature
FileCheck Reapply r262092: [FileCheck] Abort if -NOT is combined with another suffix. 2016-02-29 22:13:03 +00:00
Instrumentation [PGO] Remove redundant counter copies for avail_extern functions. 2016-02-27 23:11:30 +00:00
Integer
JitListener
LibDriver
Linker
LTO Rename embedded bitcode section in MachO 2016-02-29 19:40:10 +00:00
MC AMDGPU/SI: add llvm.amdgcn.image.atomic.* intrinsics 2016-03-04 10:39:50 +00:00
Object [lanai] Add ELF enum value and relocations. 2016-03-01 21:21:42 +00:00
Other [PM] Wire up optimization levels and default pipeline construction APIs 2016-02-28 22:16:03 +00:00
SymbolRewriter
TableGen
tools [ThinLTO] Ensure prevailing linkonce emitted as weak in ThinLTO backends 2016-03-04 17:48:35 +00:00
Transforms [InstCombine] Combine A->B->A BitCast 2016-03-03 23:21:38 +00:00
Unit
Verifier [Verifier] Don't abort on invalid cleanuprets 2016-03-01 18:59:50 +00:00
YAMLParser
.clang-format
CMakeLists.txt [CMake] Add convenience target llvm-test-depends to build test dependencies. 2016-03-02 00:27:14 +00:00
lit.cfg
lit.site.cfg.in
TestRunner.sh