aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/visibility.ll
blob: 580c3dc9266d6b7d21062d3a29c5f2a05c9b8a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; 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