1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib
Rafael Espindola 64bfe5c32d Start deciding earlier what to link.
A traditional linker is roughly split in symbol resolution and "copying
stuff".

The two tasks are badly mixed in lib/Linker.

This starts splitting them apart.

With this patch there are no direct call to linkGlobalValueBody or
linkGlobalValueProto. Everything is linked via WapValue.

This also includes a few fixes:
* A GV goes undefined if the comdat is dropped (comdat11.ll).
* We error if an internal GV goes undefined (comdat13.ll).
* We don't link an unused comdat.

The first two match the behavior of an ELF linker. The second one is
equivalent to running globaldce on the input.

llvm-svn: 254336
2015-11-30 22:01:43 +00:00
..
Analysis [SCEV] Use lambda instead of std::bind; NFC 2015-11-29 23:40:57 +00:00
AsmParser AsmParser: Make the code for parsing unnamed aliases more closely resemble that for unnamed globals. 2015-11-25 02:54:07 +00:00
Bitcode [ThinLTO] Handle bitcode without function summary sections gracefully 2015-11-21 21:55:48 +00:00
CodeGen Have 'optnone' respect the -fast-isel=false option. 2015-11-30 21:56:16 +00:00
DebugInfo Replace dyn_cast with isa in places that weren't using the returned value for more than a boolean check. NFC. 2015-11-18 07:07:59 +00:00
ExecutionEngine [RuntimeDyld] Fix a class of arithmetic errors introduced in r253918 2015-11-24 20:37:01 +00:00
Fuzzer [libFuzzer] add a flag -exact_artifact_path 2015-11-25 21:40:46 +00:00
IR Disallow aliases to available_externally. 2015-11-26 19:22:59 +00:00
IRReader
LibDriver [Option] Use an ArrayRef to store the Option Infos in OptTable. NFC 2015-10-21 16:30:42 +00:00
LineEditor
Linker Start deciding earlier what to link. 2015-11-30 22:01:43 +00:00
LTO [LTO] Add option to emit assembly from LTOCodeGenerator 2015-11-19 23:59:24 +00:00
MC MC: Simplify handling of temporary symbols in COFF writer. 2015-11-26 23:29:27 +00:00
Object [ThinLTO] Deduplicate function index loading into shared helper (NFC) 2015-11-23 19:19:11 +00:00
Option [Option] Use an ArrayRef to store the Option Infos in OptTable. NFC 2015-10-21 16:30:42 +00:00
Passes [PM] Port StripDeadPrototypes to the new pass manager 2015-10-30 23:28:12 +00:00
ProfileData [PGO] Move value profile format related structures and APIs to common file 2015-11-28 19:07:09 +00:00
Support Add Windows error code and tidy formatting for system errors. 2015-11-23 17:34:20 +00:00
TableGen [TblGen] ArrayRefize TGParser. No functional change intended. 2015-10-24 12:46:45 +00:00
Target AMDGPU: Fix unused function 2015-11-30 21:32:10 +00:00
Transforms Start deciding earlier what to link. 2015-11-30 22:01:43 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile