<div dir="ltr"><div>+1. Once ORC JIT supports debugging and profiling, it will have everything we need.</div><div><br></div><div>Thanks, Lang!</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 9, 2020 at 9:21 PM Frank Tetzel via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Lang,<br>
<br>
> First: there is a preview patch up at <a href="https://reviews.llvm.org/D75838" rel="noreferrer" target="_blank">https://reviews.llvm.org/D75838</a><br>
> to enable use of JITEventListeners in RTDyldObjectLinkingLayer. I've<br>
> only done very preliminary testing on it, but was able to debug<br>
> simple JIT'd programs on Linux using the GDB registration listener.<br>
> If you've been wanting to move to ORC but held up by lack of debugger<br>
> / profiler registration, chime in on the review -- I'd appreciate<br>
> feedback and help with testing. I will also post a bug tomorrow for<br>
> investigating similar (or hopefully better) debugger registration<br>
> functionality for JITLink.<br>
<br>
Does this also include support for PerfEventListener for profiling with<br>
perf?<br>
<br>
I think, debugging and profiling support is very important for a JIT<br>
engine. I could never get it to work with older LLVM versions. Is there<br>
example code somewhere available?<br>
<br>
Best regards,<br>
Frank<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>