view test/CodeGen/ARM/hidden-vis.ll @ 33:e4204d083e25

LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 14:32:10 +0900
parents 95c75e76d11b
children
line wrap: on
line source

; RUN: llc < %s -mtriple=arm-linux | FileCheck %s -check-prefix=LINUX
; RUN: llc < %s -mtriple=arm-apple-darwin | FileCheck %s -check-prefix=DARWIN

@a = hidden global i32 0
@b = external global i32

define weak hidden void @t1() nounwind {
; LINUX: .hidden t1
; LINUX-LABEL: t1:

; DARWIN: .private_extern _t1
; DARWIN-LABEL: t1:
  ret void
}

define weak void @t2() nounwind {
; LINUX-LABEL: t2:
; LINUX: .hidden a

; DARWIN-LABEL: t2:
; DARWIN: .private_extern _a
  ret void
}