Mercurial > hg > CbC > CbC_llvm
annotate test/Other/2002-01-31-CallGraph.ll @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 95c75e76d11b |
children |
rev | line source |
---|---|
0 | 1 ; Call graph construction crash: Not handling indirect calls right |
2 ; | |
121 | 3 ; RUN: opt < %s -analyze -print-callgraph > /dev/null 2>&1 |
0 | 4 ; |
5 | |
6 %FunTy = type i32 (i32) | |
7 | |
8 define void @invoke(%FunTy* %x) { | |
9 %foo = call i32 %x( i32 123 ) ; <i32> [#uses=0] | |
10 ret void | |
11 } | |
12 | |
13 |