2002-01-31-CallGraph.ll 282 B

12345678910111213
  1. ; Call graph construction crash: Not handling indirect calls right
  2. ;
  3. ; RUN: opt < %s -analyze -print-callgraph >& /dev/null
  4. ;
  5. %FunTy = type i32 (i32)
  6. define void @invoke(%FunTy* %x) {
  7. %foo = call i32 %x( i32 123 ) ; <i32> [#uses=0]
  8. ret void
  9. }