[llvm-bugs] [Bug 45208] New: Debugging support in OrcV2 / JITLink

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Mar 14 19:22:24 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=45208

            Bug ID: 45208
           Summary: Debugging support in OrcV2 / JITLink
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: OrcJIT
          Assignee: unassignedbugs at nondot.org
          Reporter: lhames at gmail.com
                CC: 1101.debian at gmail.com, llvm-bugs at lists.llvm.org

We should build an ObjectLinkingLayer plugin to enable debugging of JIT'd code.

MCJIT / RuntimeDyld already has GDBRegistrationListener for this purpose. We
may want to look at whether we can re-use the GDB registration protocol for
this. See:
http://llvm.org/PR1129, http://llvm.org/PR17628, and
https://sourceware.org/gdb/current/onlinedocs/gdb/JIT-Interface.html.

If we go this route then ideally the plugin will synthesize a new object with
the necessary section/segment load commands, nlist entries, and dwarf sections,
but without the dead weight of all the actual code and data.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200315/54efe97c/attachment.html>


More information about the llvm-bugs mailing list