mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
169eaef57b
llvm-svn: 47297
14 lines
273 B
LLVM
14 lines
273 B
LLVM
; Call graph construction crash: Not handling indirect calls right
|
|
;
|
|
; RUN: llvm-as < %s | opt -analyze -callgraph
|
|
;
|
|
|
|
%FunTy = type i32 (i32)
|
|
|
|
define void @invoke(%FunTy* %x) {
|
|
%foo = call i32 %x( i32 123 ) ; <i32> [#uses=0]
|
|
ret void
|
|
}
|
|
|
|
|