llvm-project/llvm/bindings/ocaml/bitreader
Jeroen Ketema b7f633b8d3 [OCaml] Use LLVMCreateMessage with constant strings when calling llvm_raise
The llvm_string_of_message function, called by llvm_raise, calls
LLVMDisposeMessage, which expects the message to be dynamically
allocated; it fails freeing the message otherwise. So always
dynamically allocate with LLVMCreateMessage.

Differential Revision: http://reviews.llvm.org/D18675

llvm-svn: 265116
2016-04-01 07:56:17 +00:00
..
CMakeLists.txt [OCaml] [cmake] Add CMake buildsystem for OCaml. 2014-12-01 19:50:23 +00:00
bitreader_ocaml.c [OCaml] Use LLVMCreateMessage with constant strings when calling llvm_raise 2016-04-01 07:56:17 +00:00
llvm_bitreader.ml [OCaml] Drop support for 3.12.1 and earlier. 2014-10-29 08:15:54 +00:00
llvm_bitreader.mli [OCaml] Drop support for 3.12.1 and earlier. 2014-10-29 08:15:54 +00:00