summaryrefslogtreecommitdiff
path: root/include/llvm-c
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2008-03-27 00:27:14 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2008-03-27 00:27:14 +0000
commit7c1483bc6f009318ce66c4d37d1ba930e01a6d13 (patch)
tree8aa88262df0f503ca36854ba1150deb772dcf048 /include/llvm-c
parent5b0c85588a5cdb90e975257f53291bb08e461b81 (diff)
downloadllvm-7c1483bc6f009318ce66c4d37d1ba930e01a6d13.tar.gz
llvm-7c1483bc6f009318ce66c4d37d1ba930e01a6d13.tar.bz2
llvm-7c1483bc6f009318ce66c4d37d1ba930e01a6d13.tar.xz
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
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/ExecutionEngine.h3
1 files changed, 3 insertions, 0 deletions
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
}