1
0
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:
Mehdi Amini 2016-04-19 16:21:37 +00:00
parent a434679bb1
commit f24757c4b7
2 changed files with 2 additions and 2 deletions

View File

@ -11,4 +11,4 @@ define void @foo() {
ret void
}
; CHECK: declare extern_weak void @foo(){{$}}
; CHECK: declare void @foo()

View File

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