Displaying 1 result from an estimated 1 matches for "arg_5".
Did you mean:
arg5
2011 Jul 29
1
[LLVMdev] Problem with stack arguments
Hallo!
I use a custom calling convention in which the first 4 arguments are
promoted to registers and the rest to the stack, and the callee is
responsible for popping the stack arguments.
So when calling a function with 5 arguments i get this code:
movq ARG_5, (%rsp)
callq fun_foo_1
.Ltmp4:
subq $8, %rsp
I use a garbage collector with postcall safe points (.Ltmp4 is such)
which needs to know the frame size, for
each safe point. The problem is that at .Ltmp4 the frame size is
actually different from what getFrameSize() would return....