aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitf2144ed4399c6414a4f35b10c2fcc9782f32fbf3 (patch)
treeb4ee822464b5896873778364bbbb12a21e5b45de /include/llvm-c
parentf89dacb78244825a5c555be1eb4c18d12365845c (diff)
downloadexternal_llvm-f2144ed4399c6414a4f35b10c2fcc9782f32fbf3.zip
external_llvm-f2144ed4399c6414a4f35b10c2fcc9782f32fbf3.tar.gz
external_llvm-f2144ed4399c6414a4f35b10c2fcc9782f32fbf3.tar.bz2
llvm-c: Add LLVMGetPointerToFunction
Differential Revision: http://llvm-reviews.chandlerc.com/D1715 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/ExecutionEngine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm-c/ExecutionEngine.h b/include/llvm-c/ExecutionEngine.h
index 50fdb6b..696d871 100644
--- a/include/llvm-c/ExecutionEngine.h
+++ b/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);