diff options
author | Lang Hames <lhames@gmail.com> | 2015-11-03 16:10:18 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2015-11-03 16:10:18 +0000 |
commit | a4a227f7e881de24ab150d6277d59b256b55d99a (patch) | |
tree | 912c05ce58292facd2e6713c95b78045d8fda0bb /llvm/include/llvm-c/OrcBindings.h | |
parent | 862432c90e25f0901b77aff92cc6e48acd4b212b (diff) | |
download | bcm5719-llvm-a4a227f7e881de24ab150d6277d59b256b55d99a.tar.gz bcm5719-llvm-a4a227f7e881de24ab150d6277d59b256b55d99a.zip |
[Orc] Directly emit machine code for the x86 resolver block and trampolines.
Bypassing LLVM for this has a number of benefits:
1) Laziness support becomes asm-syntax agnostic (previously lazy jitting didn't
work on Windows as the resolver block was in Darwin asm).
2) For cross-process JITs, it allows resolver blocks and trampolines to be
emitted directly in the target process, reducing cross process traffic.
3) It should be marginally faster.
llvm-svn: 251933
Diffstat (limited to 'llvm/include/llvm-c/OrcBindings.h')
-rw-r--r-- | llvm/include/llvm-c/OrcBindings.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/include/llvm-c/OrcBindings.h b/llvm/include/llvm-c/OrcBindings.h index 78a7bc146ee..f6aff916999 100644 --- a/llvm/include/llvm-c/OrcBindings.h +++ b/llvm/include/llvm-c/OrcBindings.h @@ -47,8 +47,7 @@ typedef uint64_t (*LLVMOrcLazyCompileCallbackFn)(LLVMOrcJITStackRef JITStack, * client should not attempt to dispose of the Target Machine, or it will result * in a double-free. */ -LLVMOrcJITStackRef LLVMOrcCreateInstance(LLVMTargetMachineRef TM, - LLVMContextRef Context); +LLVMOrcJITStackRef LLVMOrcCreateInstance(LLVMTargetMachineRef TM); /** * Mangle the given symbol. |