summaryrefslogtreecommitdiff
path: root/include
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
parentf89dacb78244825a5c555be1eb4c18d12365845c (diff)
downloadllvm-f2144ed4399c6414a4f35b10c2fcc9782f32fbf3.tar.gz
llvm-f2144ed4399c6414a4f35b10c2fcc9782f32fbf3.tar.bz2
llvm-f2144ed4399c6414a4f35b10c2fcc9782f32fbf3.tar.xz
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')
-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 50fdb6bd73..696d871331 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);