[LLVMdev] [PATCH] Don't optimize out GDB JIT registrar

Joerg Sonnenberger joerg at britannica.bec.de
Fri Dec 20 02:52:15 PST 2013


On Fri, Dec 20, 2013 at 11:18:46AM +0100, Andrew MacPherson wrote:
> This patch forces it to leave the call using the method described here in
> the 'noinline' section:

Use asm volatile("":::"memory") to make sure that it doesn't leave
trackes. The noinline can likely go in that case...

Joerg



More information about the llvm-dev mailing list