[llvm-dev] ORC JIT Weekly #7 -- JITEventListener support and Swift Immediate Mode Migration

Geoff Levner via llvm-dev llvm-dev at lists.llvm.org
Tue Mar 10 02:28:09 PDT 2020


+1. Once ORC JIT supports debugging and profiling, it will have everything
we need.

Thanks, Lang!


On Mon, Mar 9, 2020 at 9:21 PM Frank Tetzel via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi Lang,
>
> > First: there is a preview patch up at https://reviews.llvm.org/D75838
> > to enable use of JITEventListeners in RTDyldObjectLinkingLayer. I've
> > only done very preliminary testing on it, but was able to debug
> > simple JIT'd programs on Linux using the GDB registration listener.
> > If you've been wanting to move to ORC but held up by lack of debugger
> > / profiler registration, chime in on the review -- I'd appreciate
> > feedback and help with testing. I will also post a bug tomorrow for
> > investigating similar (or hopefully better) debugger registration
> > functionality for JITLink.
>
> Does this also include support for PerfEventListener for profiling with
> perf?
>
> I think, debugging and profiling support is very important for a JIT
> engine. I could never get it to work with older LLVM versions. Is there
> example code somewhere available?
>
> Best regards,
> Frank
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200310/22417aa1/attachment.html>


More information about the llvm-dev mailing list