mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Fix Gold test after r266750 (ModuleLinker: Do not import linkonce/weak as "external_weak")
From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 266752
This commit is contained in:
parent
a434679bb1
commit
f24757c4b7
@ -11,4 +11,4 @@ define void @foo() {
|
||||
ret void
|
||||
}
|
||||
|
||||
; CHECK: declare extern_weak void @foo(){{$}}
|
||||
; CHECK: declare void @foo()
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user