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