llvm-project/llvm/bindings/ocaml/linker
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
linker_ocaml.c [OCaml] Use LLVMCreateMessage with constant strings when calling llvm_raise 2016-04-01 07:56:17 +00:00
llvm_linker.ml Change linkInModule to take a std::unique_ptr. 2015-12-16 23:16:33 +00:00
llvm_linker.mli Change linkInModule to take a std::unique_ptr. 2015-12-16 23:16:33 +00:00