summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit8ac07c28340c6f77be17ce5fd564023eeec94f06 (patch)
tree323d6e5d9174ff112b53ca6b852b531cdab50590 /llvm/include/llvm-c
parentf1dcb00266b1d6e63f67fd37f388f8cc587d9cec (diff)
downloadbcm5719-llvm-8ac07c28340c6f77be17ce5fd564023eeec94f06.tar.gz
bcm5719-llvm-8ac07c28340c6f77be17ce5fd564023eeec94f06.zip
Expose ExecutionEngine::getTargetData() to c and ocaml bindings.
llvm-svn: 48851
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/ExecutionEngine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/ExecutionEngine.h b/llvm/include/llvm-c/ExecutionEngine.h
index cfa6f521bf1..b1d130c20fe 100644
--- a/llvm/include/llvm-c/ExecutionEngine.h
+++ b/llvm/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
}
OpenPOWER on IntegriCloud