llvm.org GIT mirror llvm / release_60 test / CodeGen / X86 / visibility.ll
release_60

Tree @release_60 (Download .tar.gz)

visibility.ll @release_60

ddf0e59
1ffb533
8439747
 
5572685
 
 
 
1ffb533
 
8439747
5572685
1ffb533
 
 
8439747
1ffb533
8439747
5572685
1ffb533
; 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