llvm-6502/test/CodeGen/X86/visibility.ll
Rafael Espindola 8439747236 Print visibility info for external variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128887 91177308-0d34-0410-b5e6-96231b3b80d8
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