<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Debugging support in OrcV2 / JITLink"
   href="https://bugs.llvm.org/show_bug.cgi?id=45208">45208</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Debugging support in OrcV2 / JITLink
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>OrcJIT
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lhames@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>1101.debian@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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:
<a href="http://llvm.org/PR1129">http://llvm.org/PR1129</a>, <a href="http://llvm.org/PR17628">http://llvm.org/PR17628</a>, and
<a href="https://sourceware.org/gdb/current/onlinedocs/gdb/JIT-Interface.html">https://sourceware.org/gdb/current/onlinedocs/gdb/JIT-Interface.html</a>.

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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>