1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-01-06 04:31:08 +00:00
llvm-6502/test/CodeGen/ARM/hidden-vis.ll
2009-09-09 00:09:15 +00:00

24 lines
456 B
LLVM

; 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: t1:
; DARWIN: .private_extern _t1
; DARWIN: t1:
ret void
}
define weak void @t2() nounwind {
; LINUX: t2:
; LINUX: .hidden a
; DARWIN: t2:
; DARWIN: .private_extern _a
ret void
}