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

Lang Hames <lha...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Lang Hames <lha...@gmail.com> ---
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: http://llvm.org/docs/tutorial/BuildingAJIT1.html . The headers
are in include/llvm/ExecutionEngine/Orc, and some simple C bindings are
available at include/llvm-c/OrcCBindings.h .

Cheers,
Lang.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to