Home | History | Annotate | Download | only in CallGraph
      1 ; RUN: opt < %s -print-callgraph -disable-output 2>&1 | FileCheck %s
      2 
      3 ; CHECK: Call graph node <<null function>>
      4 ; CHECK:  CS<{{.*}}> calls function 'callee'
      5 ; CHECK: Call graph node for function: 'caller'
      6 ; CHECK:  CS<{{.*}}> calls function 'callee'
      7 
      8 define internal void @callee(...) {
      9 entry:
     10 	unreachable
     11 }
     12 
     13 define void @caller() {
     14 entry:
     15 	call void (...) @callee( void (...)* @callee )
     16 	unreachable
     17 }
     18