<div dir="ltr"><div><div>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.<br><br></div>The patch can be verified like this:<br>

<ul><li><Take any test.c program with a main()><br></li><li>/build/bin/clang -O0 -g -emit-llvm -S test.ll test.c</li><li>/build/bin/lldb -- /build/bin/lli --use-mcjit test.ll</li><li>br set -f test.c -l <some line></li>

<li>r</li><li><hit breakpoint><br></li><li>bt (to see stack trace with filenames and lines)<br></li></ul><p>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.</p>

<p>Thanks,</p><p>Andrew<br></p></div></div>