mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
7d72768564
llvm-svn: 29926
16 lines
239 B
LLVM
16 lines
239 B
LLVM
; Call graph construction crash: Not handling indirect calls right
|
|
;
|
|
; RUN: llvm-as < %s | opt -analyze -callgraph
|
|
;
|
|
|
|
%FunTy = type int(int)
|
|
|
|
implementation
|
|
|
|
void "invoke"(%FunTy *%x)
|
|
begin
|
|
%foo = call %FunTy* %x(int 123)
|
|
ret void
|
|
end
|
|
|