summaryrefslogtreecommitdiffstats
path: root/llvm/bindings/ocaml/target/llvm_target.mli
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/bindings/ocaml/target/llvm_target.mli')
-rw-r--r--llvm/bindings/ocaml/target/llvm_target.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/bindings/ocaml/target/llvm_target.mli b/llvm/bindings/ocaml/target/llvm_target.mli
index c1e52317c49..c59308c34e5 100644
--- a/llvm/bindings/ocaml/target/llvm_target.mli
+++ b/llvm/bindings/ocaml/target/llvm_target.mli
@@ -194,6 +194,9 @@ module TargetMachine : sig
[llvm::TargetMachine::getCPU]. *)
val cpu : t -> string
+ (** Returns the data layout of this target machine. *)
+ val data_layout : t -> DataLayout.t
+
(** Returns the feature string used while creating this target machine. See
[llvm::TargetMachine::getFeatureString]. *)
val features : t -> string
OpenPOWER on IntegriCloud