mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
4572ce85b0
llvm-svn: 33296
16 lines
254 B
LLVM
16 lines
254 B
LLVM
; Call graph construction crash: Not handling indirect calls right
|
|
;
|
|
; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -callgraph
|
|
;
|
|
|
|
%FunTy = type int(int)
|
|
|
|
implementation
|
|
|
|
void "invoke"(%FunTy *%x)
|
|
begin
|
|
%foo = call %FunTy* %x(int 123)
|
|
ret void
|
|
end
|
|
|