summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/gold/X86/thinlto_alias.ll
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-08-11 14:58:12 +0000
committerTeresa Johnson <tejohnson@google.com>2016-08-11 14:58:12 +0000
commit9ba95f99f3703fd06ce5912343526c2cc6ba353e (patch)
treebf52a79d2f8cf0359e7a9e7a932e37772b8d6fe8 /llvm/test/tools/gold/X86/thinlto_alias.ll
parent3818f1b38ae7b29dfeed0f11cff1a6b30fcc4f0e (diff)
downloadbcm5719-llvm-9ba95f99f3703fd06ce5912343526c2cc6ba353e.tar.gz
bcm5719-llvm-9ba95f99f3703fd06ce5912343526c2cc6ba353e.zip
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
Diffstat (limited to 'llvm/test/tools/gold/X86/thinlto_alias.ll')
-rw-r--r--llvm/test/tools/gold/X86/thinlto_alias.ll10
1 files changed, 8 insertions, 2 deletions
diff --git a/llvm/test/tools/gold/X86/thinlto_alias.ll b/llvm/test/tools/gold/X86/thinlto_alias.ll
index f91c9bd2808..33c888daf17 100644
--- a/llvm/test/tools/gold/X86/thinlto_alias.ll
+++ b/llvm/test/tools/gold/X86/thinlto_alias.ll
@@ -14,8 +14,14 @@
; RUN: --plugin-opt=save-temps \
; RUN: -o %t3.o %t2.o %t.o
; RUN: llvm-nm %t3.o | FileCheck %s
-; RUN: llvm-dis %t.o.opt.bc -o - | FileCheck --check-prefix=OPT %s
-; RUN: llvm-dis %t2.o.opt.bc -o - | FileCheck --check-prefix=OPT2 %s
+; RUN: llvm-dis %t.o.4.opt.bc -o - | FileCheck --check-prefix=OPT %s
+; RUN: llvm-dis %t2.o.4.opt.bc -o - | FileCheck --check-prefix=OPT2 %s
+
+; This does not currently pass because the gold plugin now uses the
+; combined summary rather than the IRMover to change the module's linkage
+; during the ThinLTO backend. The internalization step implemented by IRMover
+; for preempted symbols has not yet been implemented for the combined summary.
+; XFAIL: *
; CHECK-NOT: U f
; OPT: define hidden void @weakfunc.llvm.0()
OpenPOWER on IntegriCloud