<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:lhames@gmail.com" title="Lang Hames <lhames@gmail.com>"> <span class="fn">Lang Hames</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - LLVMRunFunction does not work properly with MCJIT"
   href="https://llvm.org/bugs/show_bug.cgi?id=28934">bug 28934</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - LLVMRunFunction does not work properly with MCJIT"
   href="https://llvm.org/bugs/show_bug.cgi?id=28934#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - LLVMRunFunction does not work properly with MCJIT"
   href="https://llvm.org/bugs/show_bug.cgi?id=28934">bug 28934</a>
              from <span class="vcard"><a class="email" href="mailto:lhames@gmail.com" title="Lang Hames <lhames@gmail.com>"> <span class="fn">Lang Hames</span></a>
</span></b>
        <pre>Hi Henning,

Some history to explain the current state of things: ExecutionEngine's
interface has always been the union of the functionality provided by the
Interpreter, the JIT (now deleted), and MCJIT. LLVMRunFunction shouldn't be
deprecated as it still works for the Interpreter, but I have added comments to
ExecutionEngine.h explaining the limitations when using MCJIT, and I have
changed MCJIT::runFunction to abort with a meaningful error at runtime if
called with unsupported arguments (r278348).

The underlying problem was the decision to try to support all execution engine
features in a single interface. The ORC APIs (LLVM's next generation of JIT
APIs) avoid this problem by breaking away from the ExecutionEngine interface.
If you want to check out the new APIs you'll find a tutorial series (under
development) at: <a href="http://llvm.org/docs/tutorial/BuildingAJIT1.html">http://llvm.org/docs/tutorial/BuildingAJIT1.html</a> . The headers
are in include/llvm/ExecutionEngine/Orc, and some simple C bindings are
available at include/llvm-c/OrcCBindings.h .

Cheers,
Lang.</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>