[OCaml] Implement Llvm.string_of_llvalue
[oota-llvm.git] / bindings / ocaml / llvm / llvm.mli
index 8ad21f20c486be8f5e501ec18f063e547d77a679..e965b7ee7e61494a74d6981ec7895124c24157c7 100644 (file)
@@ -654,6 +654,9 @@ val set_value_name : string -> llvalue -> unit
     error. See the method [llvm::Value::dump]. *)
 val dump_value : llvalue -> unit
 
+(** [string_of_llvalue v] returns a string describing the value [v]. *)
+val string_of_llvalue : llvalue -> string
+
 (** [replace_all_uses_with old new] replaces all uses of the value [old]
     with the value [new]. See the method [llvm::Value::replaceAllUsesWith]. *)
 val replace_all_uses_with : llvalue -> llvalue -> unit