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: unassignedb...@nondot.org
          Reporter: lha...@gmail.com
                CC: 1101.deb...@gmail.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to