llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld
Lang Hames 93de2a12a3 [Orc] New JIT APIs.
This patch adds a new set of JIT APIs to LLVM. The aim of these new APIs is to
cleanly support a wider range of JIT use cases in LLVM, and encourage the
development and contribution of re-usable infrastructure for LLVM JIT use-cases.

These APIs are intended to live alongside the MCJIT APIs, and should not affect
existing clients.

Included in this patch:

1) New headers in include/llvm/ExecutionEngine/Orc that provide a set of
   components for building JIT infrastructure.
   Implementation code for these headers lives in lib/ExecutionEngine/Orc.

2) A prototype re-implementation of MCJIT (OrcMCJITReplacement) built out of the
   new components.

3) Minor changes to RTDyldMemoryManager needed to support the new components.
   These changes should not impact existing clients.

4) A new flag for lli, -use-orcmcjit, which will cause lli to use the
   OrcMCJITReplacement class as its underlying execution engine, rather than
   MCJIT itself.

Tests to follow shortly.

Special thanks to Michael Ilseman, Pete Cooper, David Blaikie, Eric Christopher,
Justin Bogner, and Jim Grosbach for extensive feedback and discussion.

llvm-svn: 226940
2015-01-23 21:25:00 +00:00
..
Targets Fix undefined behavior (shift of negative value) in RuntimeDyldMachOAArch64::encodeAddend. 2015-01-10 00:46:38 +00:00
CMakeLists.txt [MCJIT] Replace JITEventListener::anchor (temporarily removed in r222861), and 2014-11-27 01:41:16 +00:00
LLVMBuild.txt Fix build following r211956 2014-06-28 06:31:47 +00:00
Makefile
RuntimeDyld.cpp [Orc] New JIT APIs. 2015-01-23 21:25:00 +00:00
RuntimeDyldChecker.cpp [RuntimeDyld] Track symbol visibility in RuntimeDyld. 2015-01-16 23:13:56 +00:00
RuntimeDyldCheckerImpl.h [MCJIT] Add command-line argument to llvm-rtdyld to specify target addresses for 2014-09-04 04:19:54 +00:00
RuntimeDyldELF.cpp [RuntimeDyld] Track symbol visibility in RuntimeDyld. 2015-01-16 23:13:56 +00:00
RuntimeDyldELF.h [MCJIT] Remove the local symbol table from RuntimeDlyd - it's not needed. 2014-11-27 05:40:13 +00:00
RuntimeDyldImpl.h [RuntimeDyld] Tidy up emitCommonSymbols a little. NFC. 2015-01-17 00:55:05 +00:00
RuntimeDyldMachO.cpp [RuntimeDyld] Track symbol visibility in RuntimeDyld. 2015-01-16 23:13:56 +00:00
RuntimeDyldMachO.h [MCJIT] Remove the local symbol table from RuntimeDlyd - it's not needed. 2014-11-27 05:40:13 +00:00