YouCompleteMe/cpp/llvm/test/CodeGen/X86/visibility.ll

15 lines
264 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; 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