[llvmlinux] Builtin: stack pointer

Renato Golin renato.golin at linaro.org
Thu Mar 27 10:25:43 UTC 2014


On 27 March 2014 10:12, Andreas Schwab <schwab at suse.de> wrote:
> Can't you use __builtin_frame_address (0) instead?

That would give me the frame pointer, not the stack pointer, and the
user would have to calculate manually the offset to get the actual
stack pointer, which would be target-specific, possibly making it even
worse. Is that what you meant?

cheers,
--renato


More information about the LLVMLinux mailing list