[llvm] c3de1d0 - [gold][test] Fix tests after D75713 and D74749
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 6 13:38:12 PST 2020
Author: Fangrui Song
Date: 2020-03-06T13:38:04-08:00
New Revision: c3de1d0b1f99926f4a2665756b29b2d35a8359b8
URL: https://github.com/llvm/llvm-project/commit/c3de1d0b1f99926f4a2665756b29b2d35a8359b8
DIFF: https://github.com/llvm/llvm-project/commit/c3de1d0b1f99926f4a2665756b29b2d35a8359b8.diff
LOG: [gold][test] Fix tests after D75713 and D74749
Added:
Modified:
llvm/test/tools/gold/X86/thinlto_weak_library.ll
llvm/test/tools/gold/X86/v1.16/wrap-2.ll
Removed:
################################################################################
diff --git a/llvm/test/tools/gold/X86/thinlto_weak_library.ll b/llvm/test/tools/gold/X86/thinlto_weak_library.ll
index 3eff4a5d22ee..6c193197699d 100644
--- a/llvm/test/tools/gold/X86/thinlto_weak_library.ll
+++ b/llvm/test/tools/gold/X86/thinlto_weak_library.ll
@@ -24,7 +24,7 @@
; copy of f() (and didn't simply convert to available_externally, which
; would incorrectly enable inlining).
; RUN: llvm-dis %t2.o.1.promote.bc -o - | FileCheck %s
-; CHECK: declare dso_local i32 @f()
+; CHECK: declare i32 @f()
; ModuleID = 'thinlto_weak_library.c'
source_filename = "thinlto_weak_library.c"
diff --git a/llvm/test/tools/gold/X86/v1.16/wrap-2.ll b/llvm/test/tools/gold/X86/v1.16/wrap-2.ll
index ff3f357e0c83..67948fafef57 100644
--- a/llvm/test/tools/gold/X86/v1.16/wrap-2.ll
+++ b/llvm/test/tools/gold/X86/v1.16/wrap-2.ll
@@ -21,12 +21,12 @@
; Make sure that calls in foo() are not eliminated and that bar is
; routed to __wrap_bar and __real_bar is routed to bar.
-; CHECK: foo:
+; CHECK: <foo>:
; CHECK-NEXT: pushq %rax
; CHECK-NEXT: callq{{.*}}<__wrap_bar>
; CHECK-NEXT: callq{{.*}}<bar>
-; THIN: foo:
+; THIN: <foo>:
; THIN-NEXT: pushq %rax
; THIN-NEXT: callq{{.*}}<__wrap_bar>
; THIN-NEXT: popq %rax
More information about the llvm-commits
mailing list