projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Teach -callgraph to always print the callgraph (as the
[oota-llvm.git]
/
test
/
Analysis
/
CallGraph
/
2008-09-09-DirectCall.ll
1
; RUN: llvm-as < %s | opt -callgraph -disable-output |& grep {Calls function 'callee'} | count 2
2
3
define internal void @callee(...) {
4
entry:
5
unreachable
6
}
7
8
define void @caller() {
9
entry:
10
call void (...)* @callee( void (...)* @callee )
11
unreachable
12
}