summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorAnders Waldenborg <anders@0x63.nu>2013-09-19 19:55:06 +0000
committerAnders Waldenborg <anders@0x63.nu>2013-09-19 19:55:06 +0000
commit8bbda41c6ea2ce1a0e9b964a70b1e117ed831daa (patch)
treea4c69a6300fe8053b7071eac79480f251adabd47 /llvm/include/llvm-c
parent5b1545582353e5d6ddb10c6c23bcfdbc63c6f250 (diff)
downloadbcm5719-llvm-8bbda41c6ea2ce1a0e9b964a70b1e117ed831daa.tar.gz
bcm5719-llvm-8bbda41c6ea2ce1a0e9b964a70b1e117ed831daa.zip
llvm-c: Add LLVMGetPointerToFunction
Differential Revision: http://llvm-reviews.chandlerc.com/D1715 llvm-svn: 191030
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/ExecutionEngine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/ExecutionEngine.h b/llvm/include/llvm-c/ExecutionEngine.h
index 50fdb6bd735..696d871331f 100644
--- a/llvm/include/llvm-c/ExecutionEngine.h
+++ b/llvm/include/llvm-c/ExecutionEngine.h
@@ -141,6 +141,8 @@ LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F,
unsigned NumArgs,
LLVMGenericValueRef *Args);
+void *LLVMGetPointerToFunction(LLVMExecutionEngineRef EE, LLVMValueRef F);
+
void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F);
void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M);
OpenPOWER on IntegriCloud