Beginnings of MC-JIT code generation.
authorJim Grosbach <grosbach@apple.com>
Fri, 18 Mar 2011 22:48:41 +0000 (22:48 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 18 Mar 2011 22:48:41 +0000 (22:48 +0000)
commit31649e61bcead26a63c7cd452da90fff5e000b91
treecbb4bedb2841d8634b3c8da6dab1d02576cef091
parent3f30af3f4563fc6987d123a024f05b3e7769d9a1
Beginnings of MC-JIT code generation.

Proof-of-concept code that code-gens a module to an in-memory MachO object.
This will be hooked up to a run-time dynamic linker library (see: llvm-rtdyld
for similarly conceptual work for that part) which will take the compiled
object and link it together with the rest of the system, providing back to the
JIT a table of available symbols which will be used to respond to the
getPointerTo*() queries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127916 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetMachine.h
lib/CodeGen/LLVMTargetMachine.cpp
lib/ExecutionEngine/MCJIT/MCJIT.cpp
lib/ExecutionEngine/MCJIT/MCJIT.h
tools/lli/lli.cpp