1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 21:42:54 +02:00
llvm-mirror/lib
Mehdi Amini 03f4fda76b Rework linkInModule(), making it oblivious to ThinLTO
Summary:
ThinLTO is relying on linkInModule to import selected function.
However a lot of "magic" was hidden in linkInModule and the IRMover,
who would rename and promote global variables on the fly.

This is moving to an approach where the steps are decoupled and the
client is reponsible to specify the list of globals to import.
As a consequence some test are changed because they were relying on
the previous behavior which was importing the definition of *every*
single global without control on the client side.
Now the burden is on the client to decide if a global has to be imported
or not.

Reviewers: tejohnson

Subscribers: joker.eph, llvm-commits

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

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 263863
2016-03-19 00:40:31 +00:00
..
Analysis [LoopDataPrefetch] Add TTI to limit the number of iterations to prefetch ahead 2016-03-18 00:27:43 +00:00
AsmParser DebugInfo: Add ability to not emit DW_AT_vtable_elem_location for virtual functions. 2016-03-17 23:58:03 +00:00
Bitcode Bitcode: Error out instead of crashing on corrupt metadata 2016-03-17 20:12:06 +00:00
CodeGen [CXX_FAST_TLS] fix issues with O0 on ARM, AArch64 and X86. 2016-03-18 23:38:49 +00:00
DebugInfo [DebugInfo] Dump CIE augmentation data as a list of hex bytes 2016-03-01 18:38:05 +00:00
ExecutionEngine ExecutionEngine: tweak debug log 2016-03-05 20:00:41 +00:00
Fuzzer [libFuzzer] add a flag close_fd_mask so that we can silence spammy targets by closing stderr/stdout 2016-03-18 20:58:29 +00:00
IR Interface to get/set profile summary metadata to module 2016-03-18 21:29:30 +00:00
IRReader
LibDriver
LineEditor
Linker Rework linkInModule(), making it oblivious to ThinLTO 2016-03-19 00:40:31 +00:00
LTO [ThinLTO] Renaming of function index to module summary index (NFC) 2016-03-15 00:04:37 +00:00
MC [MCParser] Accept uppercase radix variants 0X and 0B 2016-03-18 18:22:07 +00:00
Object [COFF] Refactor section alignment calculation 2016-03-17 16:55:18 +00:00
ObjectYAML Forgot to commit this with r263692 2016-03-17 16:55:11 +00:00
Option
Passes [PM] Rename the CRTP mixin base classes for the new pass manager to 2016-03-11 10:33:22 +00:00
ProfileData Variable name cleanup /NFC 2016-03-16 22:13:41 +00:00
Support [MCParser] Accept uppercase radix variants 0X and 0B 2016-03-18 18:22:07 +00:00
TableGen [TableGen] Fix typos in comments. NFC 2016-02-26 06:50:27 +00:00
Target [CXX_FAST_TLS] Fix issues in ARM. 2016-03-18 23:44:37 +00:00
Transforms Rework linkInModule(), making it oblivious to ThinLTO 2016-03-19 00:40:31 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00