From 7c1483bc6f009318ce66c4d37d1ba930e01a6d13 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Thu, 27 Mar 2008 00:27:14 +0000 Subject: Expose ExecutionEngine::getTargetData() to c and ocaml bindings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48851 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm-c/ExecutionEngine.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/llvm-c/ExecutionEngine.h') diff --git a/include/llvm-c/ExecutionEngine.h b/include/llvm-c/ExecutionEngine.h index cfa6f521bf..b1d130c20f 100644 --- a/include/llvm-c/ExecutionEngine.h +++ b/include/llvm-c/ExecutionEngine.h @@ -20,6 +20,7 @@ #define LLVM_C_EXECUTIONENGINE_H #include "llvm-c/Core.h" +#include "llvm-c/Target.h" #ifdef __cplusplus extern "C" { @@ -88,6 +89,8 @@ int LLVMRemoveModuleProvider(LLVMExecutionEngineRef EE, int LLVMFindFunction(LLVMExecutionEngineRef EE, const char *Name, LLVMValueRef *OutFn); +LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE); + #ifdef __cplusplus } -- cgit v1.2.3