[llvmlinux] Global vs. Local named registers

PaX Team pageexec at gmail.com
Wed May 21 11:36:50 UTC 2014


On 21 May 2014 at 11:58, Renato Golin wrote:

> Folks,
> 
> Clang now (as of r209149) has support for global named register variables.

great job ;)

> The next step, now, is to make sure why the kernel uses *local* named
> register variables for non-allocatable registers instead.

perhaps i'm asking the obvious, but where does linux have such a
construct? it sounds pretty crazy to attempt to modify the stack
pointer and similar registers this way...

cheers,
 PaX Team



More information about the LLVMLinux mailing list