diff options
author | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2008-03-27 00:27:14 +0000 |
---|---|---|
committer | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2008-03-27 00:27:14 +0000 |
commit | 7c1483bc6f009318ce66c4d37d1ba930e01a6d13 (patch) | |
tree | 8aa88262df0f503ca36854ba1150deb772dcf048 /lib/ExecutionEngine | |
parent | 5b0c85588a5cdb90e975257f53291bb08e461b81 (diff) | |
download | external_llvm-7c1483bc6f009318ce66c4d37d1ba930e01a6d13.zip external_llvm-7c1483bc6f009318ce66c4d37d1ba930e01a6d13.tar.gz external_llvm-7c1483bc6f009318ce66c4d37d1ba930e01a6d13.tar.bz2 |
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 'lib/ExecutionEngine')
-rw-r--r-- | lib/ExecutionEngine/ExecutionEngineBindings.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/ExecutionEngineBindings.cpp b/lib/ExecutionEngine/ExecutionEngineBindings.cpp index 20ee780..4dc0add 100644 --- a/lib/ExecutionEngine/ExecutionEngineBindings.cpp +++ b/lib/ExecutionEngine/ExecutionEngineBindings.cpp @@ -187,3 +187,7 @@ int LLVMFindFunction(LLVMExecutionEngineRef EE, const char *Name, } return 1; } + +LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE) { + return wrap(unwrap(EE)->getTargetData()); +} |