llvm-project/llvm/test/tools/gold/X86
Teresa Johnson 9ba95f99f3 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
..
Inputs [ThinLTO/gold] Support for getting list of included objects from gold 2016-07-22 18:20:22 +00:00
v1.12 Capture stderr when checking for gold version 2016-07-29 00:39:56 +00:00
alias.ll [opaque pointer type] Add textual IR support for explicit type parameter for global aliases 2015-09-11 03:22:04 +00:00
alias2.ll Add a few passing lto tests. 2015-11-26 19:53:12 +00:00
available-externally.ll Test both input file orders. 2015-11-27 03:50:34 +00:00
bad-alias.ll Fix llvm/test/tools/gold/X86/bad-alias.ll. 2015-09-11 08:03:17 +00:00
bcsection.ll Tweak 2 x86 gold tests so they can run on non-x86 platforms 2015-09-11 14:45:34 +00:00
coff.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
comdat.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
comdat2.ll Add a passing test. 2015-11-29 15:52:12 +00:00
common.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
ctors.ll Add a few passing lto tests. 2015-11-26 19:53:12 +00:00
ctors2.ll Add a few passing lto tests. 2015-11-26 19:53:12 +00:00
disable-verify.ll WholeProgramDevirt: introduce. 2016-02-09 22:50:34 +00:00
drop-debug.ll
drop-linkage.ll Fix Gold test after r266750 (ModuleLinker: Do not import linkonce/weak as "external_weak") 2016-04-19 16:21:37 +00:00
emit-llvm.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
invalid.ll
irmover-error.ll Linker: teach the IR mover to return llvm::Error. 2016-05-27 05:21:35 +00:00
linker-script.ll
linkonce-weak.ll [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
lit.local.cfg
no-map-whole-file.ll
opt-level.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
parallel.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
pr19901.ll Fix gold tests for llvm-readobj format change. 2016-03-24 16:45:41 +00:00
pr19901_thinlto.ll Move summary creation out of llvm-as into opt 2016-04-12 21:35:18 +00:00
pr25907.ll Add testcase for r256161 (PR25907) 2015-12-21 18:24:35 +00:00
pr25915.ll testcase gardening: update the emissionKind enum to the new syntax. (NFC) 2016-04-01 00:16:49 +00:00
relax-relocs.ll [gold] Really fix test to run on non x86 platforms. 2016-06-28 08:12:09 +00:00
remarks.ll [LTO] Appease buildbots take 3 2015-11-18 12:08:24 +00:00
resolve-to-alias.ll Make this test a bit more strict. 2015-11-24 16:43:53 +00:00
slp-vectorize.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
start-lib-common.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
stats.ll
strip_names.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
thinlto.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
thinlto_alias.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
thinlto_archive.ll [ThinLTO/gold] Handle bitcode archives 2016-05-26 01:46:41 +00:00
thinlto_emit_imports.ll [ThinLTO] Add option to emit imports files for distributed backends 2016-05-10 15:54:09 +00:00
thinlto_emit_linked_objects.ll [ThinLTO/gold] Remove thin archive part of new test due to bot failures 2016-07-22 18:32:30 +00:00
thinlto_internalize.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
thinlto_linkonceresolution.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
thinlto_prefix_replace.ll [ThinLTO] Use semicolon to separate path prefix replacement 2016-05-17 18:43:22 +00:00
thinlto_weak_resolution.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
type-merge.ll Add a few passing lto tests. 2015-11-26 19:53:12 +00:00
type-merge2.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
unnamed-addr.ll Add a few passing lto tests. 2015-11-26 19:53:12 +00:00
vectorize.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
visibility.ll Restore "Resolution-based LTO API." 2016-08-11 14:58:12 +00:00
weak.ll