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

Frank Tetzel via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 9 13:20:44 PDT 2020


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


More information about the llvm-dev mailing list