1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/lib
Teresa Johnson bd574a6d8f Restore "Resolution-based LTO API."
This restores commit r278330, with fixes for a few bot failures:
- Fix a late change I had made to the save temps output file that I
  missed due to existing files sitting on my disk
- Fix a bunch of Windows bot failures with "ambiguous call to overloaded
  function" due to confusion between llvm::make_unique vs
  std::make_unique (preface the new make_unique calls with "llvm::")
- Attempt to fix a modules bot failure by adding a missing include
  to LTO/Config.h.

Original change:

Resolution-based LTO API.

Summary:
This introduces a resolution-based LTO API. The main advantage of this API over
existing APIs is that it allows the linker to supply a resolution for each
symbol in each object, rather than the combined object as a whole. This will
become increasingly important for use cases such as ThinLTO which require us
to process symbol resolutions in a more complicated way than just adjusting
linkage.

Patch by Peter Collingbourne.

Reviewers: rafael, tejohnson, mehdi_amini

Subscribers: lhames, tejohnson, mehdi_amini, llvm-commits

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

llvm-svn: 278338
2016-08-11 14:58:12 +00:00
..
Analysis Make more fields of InlineParams Optional. 2016-08-11 03:58:05 +00:00
AsmParser
Bitcode
CodeGen Avoid false dependencies of undef machine operands 2016-08-11 07:32:08 +00:00
DebugInfo CodeView: extract the OMF Directory Header 2016-08-09 00:25:12 +00:00
ExecutionEngine Re-apply r278065 (Weak symbol support in RuntimeDyld) with a fix for ELF. 2016-08-09 19:27:17 +00:00
Fuzzer
IR [Statepoints] Minor cosmetic change; NFC 2016-08-11 00:56:46 +00:00
IRReader
LibDriver
LineEditor
Linker
LTO Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
MC
Object Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
ObjectYAML [MachOYAML] Don't output empty ExportTrie 2016-08-11 00:20:03 +00:00
Option
Passes Consistently use CGSCCAnalysisManager 2016-08-09 00:28:56 +00:00
ProfileData
Support Fix UB in APInt::ashr 2016-08-10 19:50:14 +00:00
TableGen
Target Revert "[AMDGPU] fix failure on printing of non-existing instruction operands." 2016-08-11 14:22:05 +00:00
Transforms revert 278334 2016-08-11 14:51:14 +00:00
CMakeLists.txt
LLVMBuild.txt