mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
e65d39a42c
description says it does), not just when -analyze is used as well. This means printing to stderr, so adjust some tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56337 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
252 B
LLVM
13 lines
252 B
LLVM
; RUN: llvm-as < %s | opt -callgraph -disable-output |& grep {Calls function 'callee'} | count 2
|
|
|
|
define internal void @callee(...) {
|
|
entry:
|
|
unreachable
|
|
}
|
|
|
|
define void @caller() {
|
|
entry:
|
|
call void (...)* @callee( void (...)* @callee )
|
|
unreachable
|
|
}
|