1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/CodeGen/X86/visibility.ll
Rafael Espindola 122834dffd Print the visibility of available_externally functions.
We were already printing it for declarations, but not available_externally.

llvm-svn: 242027
2015-07-13 13:55:18 +00:00

21 lines
366 B
LLVM

; RUN: llc -mtriple=x86_64-unknown-linux-gnu %s -o - | FileCheck %s
@zed = external hidden constant i32
define available_externally hidden void @baz() {
ret void
}
define hidden void @foo() nounwind {
entry:
call void @bar(i32* @zed)
call void @baz()
ret void
}
declare hidden void @bar(i32*)
;CHECK: .hidden zed
;CHECK: .hidden baz
;CHECK: .hidden bar