mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
16 lines
222 B
LLVM
16 lines
222 B
LLVM
|
; Call graph construction crash: Not handling indirect calls right
|
||
|
;
|
||
|
; RUN: analyze -callgraph %s
|
||
|
;
|
||
|
|
||
|
%FunTy = type int(int)
|
||
|
|
||
|
implementation
|
||
|
|
||
|
void "invoke"(%FunTy *%x)
|
||
|
begin
|
||
|
%foo = call %FunTy* %x(int 123)
|
||
|
ret void
|
||
|
end
|
||
|
|