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