[gold][test] Fix tests after D75713 and D74749

This commit is contained in:
Fangrui Song 2020-03-06 13:35:39 -08:00
parent 65b21282c7
commit c3de1d0b1f
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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