Displaying 1 result from an estimated 1 matches for "jumptocont".
2017 Jan 27
2
llvm return value propagation & asm
...472:
call void asm "\0D\0Apushl %ebp\0D\0Amovl 8(%esp),%eax\0D\0Amovl
12(%esp), %ebp\0D\0Acalll *%eax\0D\0Apopl %ebp\0D\0Aretl\0D\0A", ""(),
!dbg !10104, !srcloc !10106 // this returns in eax
ret i32 0, !dbg !10104
}
; Function Attrs: naked noinline optnone
define void @jumptocont(i32, i32, i32) #3 !dbg !10107 {
BasicBlock8473:
call void asm "\0D\0A movl 12(%esp), %ebp\0D\0A movl 4(%esp),
%eax\0D\0A movl 8(%esp), %esp\0D\0A jmpl *%eax\0D\0A", ""(), !dbg
!10108, !srcloc !10110
ret void, !dbg !10108
}
The calling code is like;
%530 =...