repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[llvm-nm] - Fix a bug and unbreak ASan BB.
[llvm-complete.git]
/
test
/
Other
/
llvm-nm-without-aliases.ll
blob
7962804f08ee73cff766143a1c1c10210d77e54f
1
; RUN: llvm-as %s -o %t
2
; RUN: llvm-nm --without-aliases %t | FileCheck %s
3
; RUN: llvm-nm %t | FileCheck --check-prefix=WITH %s
4
5
; CHECK-NOT: T a0bar
6
; CHECK-NOT: T a0foo
7
; CHECK: T bar
8
; CHECK: T foo
9
10
; WITH: T a0bar
11
; WITH: T a0foo
12
; WITH: T bar
13
; WITH: T foo
14
15
@a0foo = alias void (), void ()* @foo
16
17
define void @foo() {
18
ret void
19
}
20
21
@a0bar = alias void (), void ()* @bar
22
23
define void @bar() {
24
ret void
25
}