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 | e1be5cd69c00af76a9995e633108b70ee6e1e669 (patch) | |
tree | 8aa88262df0f503ca36854ba1150deb772dcf048 /lib/ExecutionEngine/ExecutionEngineBindings.cpp | |
parent | 14eb20bbe41fb33ca036511bad98645bede7ed5c (diff) | |
download | external_llvm-e1be5cd69c00af76a9995e633108b70ee6e1e669.zip external_llvm-e1be5cd69c00af76a9995e633108b70ee6e1e669.tar.gz external_llvm-e1be5cd69c00af76a9995e633108b70ee6e1e669.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/ExecutionEngineBindings.cpp')
-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()); +} |