repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
CodeGen
/
ARM
/
weak.ll
blob
dadd1b976798565b6421cd3c467f8c3a1948b6ff
1
; RUN: llvm-as < %s | llc -march=arm | grep .weak.*f
2
; RUN: llvm-as < %s | llc -march=arm | grep .weak.*h
3
4
define weak i32 @f() {
5
entry:
6
unreachable
7
}
8
9
define void @g() {
10
entry:
11
tail call void @h( )
12
ret void
13
}
14
15
declare extern_weak void @h()
16