1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/CodeGen/X86/visibility.ll
Rafael Espindola 7618e7be93 Print visibility info for external variables.
llvm-svn: 128887
2011-04-05 15:51:32 +00:00

15 lines
264 B
LLVM

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