blob: 3544ae81a0a45d0a57239a277ad9557369ab4369 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
; 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
}
|