From f2144ed4399c6414a4f35b10c2fcc9782f32fbf3 Mon Sep 17 00:00:00 2001 From: Anders Waldenborg Date: Thu, 19 Sep 2013 19:55:06 +0000 Subject: 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 --- include/llvm-c/ExecutionEngine.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/llvm-c') 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); -- cgit v1.1