aboutsummaryrefslogtreecommitdiff
path: root/bindings/ocaml/executionengine/llvm_executionengine.ml
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 /bindings/ocaml/executionengine/llvm_executionengine.ml
parent5b0c85588a5cdb90e975257f53291bb08e461b81 (diff)
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 'bindings/ocaml/executionengine/llvm_executionengine.ml')
-rw-r--r--bindings/ocaml/executionengine/llvm_executionengine.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/bindings/ocaml/executionengine/llvm_executionengine.ml b/bindings/ocaml/executionengine/llvm_executionengine.ml
index a73fc1e4ba..4b9132df05 100644
--- a/bindings/ocaml/executionengine/llvm_executionengine.ml
+++ b/bindings/ocaml/executionengine/llvm_executionengine.ml
@@ -82,6 +82,9 @@ module ExecutionEngine = struct
= "llvm_ee_run_function_as_main"
external free_machine_code: Llvm.llvalue -> t -> unit
= "llvm_ee_free_machine_code"
+
+ external target_data: t -> Llvm_target.TargetData.t
+ = "LLVMGetExecutionEngineTargetData"
(* The following are not bound. Patches are welcome.