Displaying 3 results from an estimated 3 matches for "creategdbregistrationlistener".
2017 Oct 11
2
Debugging JIT'ed code with ORC JIT?
...ce there doesn't seem to be a default (non-noop)
> implementation of `ExecutionEngine::RegisterJITEventListener` I
> believe you can't just call `RegisterJITEventListener` on non-MCJIT
> and expect it to work.
>
> So while I totally believe one can use
> `JITEventListener::createGDBRegistrationListener()` to hook the JIT
> with the the gdb registration function, it won't work without writing
> code to explicitly do that (in additional to actually writing code to
> interface with the event listener directly). OTOH though when using
> MCJIT, this is done by default and one don't...
2017 Oct 11
2
Debugging JIT'ed code with ORC JIT?
Hi Connor,
...The LLVM documentation has a page at
> llvm.org/docs/DebuggingJITedCode.html
> showing an example of using gdb to debug MCJIT’ed code, but has no mention
> of ORC JIT.
What debugging support MCJIT has is provided by the RuntimeDyld utility,
which ORC shares. I would expect anything in that document to apply to ORC
as well, though I haven't tested it personally.
2018 Nov 05
2
ORC JIT api, object files and stackmaps
Hi Christian
Your use case seems to have similar requirements as remote JITing in
ORC. So far I haven't used that part myself and I am sure Lang can tell
you much more about it. However, this comment on the
RemoteObjectClientLayer class sounds promising for your questions (1)
and (2):
/// Sending relocatable objects to the server (rather than fully relocated
/// bits) allows JIT'd code