[lldb-dev] [PATCH] Linux JIT support
Andrew MacPherson
andrew.macp at gmail.com
Mon Mar 3 14:32:20 PST 2014
This patch adds support for loading debug info from JITed code on Linux
through a new JITLoader plugin. The patch was largely written by Keno
Fischer.
The patch can be verified like this:
- <Take any test.c program with a main()>
- /build/bin/clang -O0 -g -emit-llvm -S test.ll test.c
- /build/bin/lldb -- /build/bin/lli --use-mcjit test.ll
- br set -f test.c -l <some line>
- r
- <hit breakpoint>
- bt (to see stack trace with filenames and lines)
Let me know if there's anything that should be updated or if there is a
better way to submit a larger patch like this.
Thanks,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140303/a46ff258/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux-jit.patch
Type: text/x-diff
Size: 54497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140303/a46ff258/attachment.patch>
More information about the lldb-dev
mailing list