Displaying 3 results from an estimated 3 matches for "b6c61aea".
2013 Dec 20
2
[LLVMdev] [PATCH] Don't optimize out GDB JIT registrar
Hi,
We switched from compiling LLVM with gcc to clang (3.3) and it appears that
clang (correctly I think) optimizes away the GDBRegistrar's
__jit_debug_register_code() function that's used to trigger reading debug
info from JIT-ted code, breaking GDB support.
This patch forces it to leave the call using the method described here in
the 'noinline' section:
2013 Dec 20
0
[LLVMdev] [PATCH] Don't optimize out GDB JIT registrar
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
2013 Dec 20
3
[LLVMdev] [PATCH] Don't optimize out GDB JIT registrar
...> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131220/b6c61aea/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GDBRegistrar.patch
Type: text/x-diff
Size: 573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131220/b6c61aea/attachment.patch>