[llvm] r266752 - Fix Gold test after r266750 (ModuleLinker: Do not import linkonce/weak as "external_weak")
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 19 09:21:37 PDT 2016
Author: mehdi_amini
Date: Tue Apr 19 11:21:37 2016
New Revision: 266752
URL: http://llvm.org/viewvc/llvm-project?rev=266752&view=rev
Log:
Fix Gold test after r266750 (ModuleLinker: Do not import linkonce/weak as "external_weak")
From: Mehdi Amini <mehdi.amini at apple.com>
Modified:
llvm/trunk/test/tools/gold/X86/drop-linkage.ll
llvm/trunk/test/tools/gold/X86/thinlto_linkonceresolution.ll
Modified: llvm/trunk/test/tools/gold/X86/drop-linkage.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/drop-linkage.ll?rev=266752&r1=266751&r2=266752&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/drop-linkage.ll (original)
+++ llvm/trunk/test/tools/gold/X86/drop-linkage.ll Tue Apr 19 11:21:37 2016
@@ -11,4 +11,4 @@ define void @foo() {
ret void
}
-; CHECK: declare extern_weak void @foo(){{$}}
+; CHECK: declare void @foo()
Modified: llvm/trunk/test/tools/gold/X86/thinlto_linkonceresolution.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/thinlto_linkonceresolution.ll?rev=266752&r1=266751&r2=266752&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/thinlto_linkonceresolution.ll (original)
+++ llvm/trunk/test/tools/gold/X86/thinlto_linkonceresolution.ll Tue Apr 19 11:21:37 2016
@@ -19,7 +19,7 @@
; Ensure that f() is defined in resulting object file, and also
; confirm the weak linkage directly in the saved opt bitcode files.
; CHECK-NOT: U f
-; OPT: declare extern_weak hidden void @f()
+; OPT: declare hidden void @f()
; OPT2: define weak_odr hidden void @f()
target triple = "x86_64-unknown-linux-gnu"
More information about the llvm-commits
mailing list