forked from OSchip/llvm-project
parent
2adb06a820
commit
468d327b34
|
@ -2,8 +2,10 @@
|
||||||
; RUN: llvm-as %p/Inputs/visibility.ll -o %t2.o
|
; RUN: llvm-as %p/Inputs/visibility.ll -o %t2.o
|
||||||
|
|
||||||
; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
|
; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
|
||||||
|
; RUN: --plugin-opt=save-temps \
|
||||||
; RUN: -shared %t.o %t2.o -o %t.so
|
; RUN: -shared %t.o %t2.o -o %t.so
|
||||||
; RUN: llvm-readobj -t %t.so | FileCheck %s
|
; RUN: llvm-readobj -t %t.so | FileCheck %s
|
||||||
|
; RUN: llvm-dis %t.so.bc -o - | FileCheck --check-prefix=IR %s
|
||||||
|
|
||||||
; CHECK: Name: foo
|
; CHECK: Name: foo
|
||||||
; CHECK-NEXT: Value:
|
; CHECK-NEXT: Value:
|
||||||
|
@ -14,6 +16,8 @@
|
||||||
; CHECK-NEXT: STV_PROTECTED
|
; CHECK-NEXT: STV_PROTECTED
|
||||||
; CHECK-NEXT: ]
|
; CHECK-NEXT: ]
|
||||||
|
|
||||||
|
; IR: define protected void @foo
|
||||||
|
|
||||||
define weak protected void @foo() {
|
define weak protected void @foo() {
|
||||||
ret void
|
ret void
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue