diff options
| author | Jeroen Ketema <j.ketema@imperial.ac.uk> | 2016-04-01 07:56:17 +0000 |
|---|---|---|
| committer | Jeroen Ketema <j.ketema@imperial.ac.uk> | 2016-04-01 07:56:17 +0000 |
| commit | b7f633b8d3c2c107f364c83243b2c5290f9e5769 (patch) | |
| tree | cc2d20f29b30dd4d5b69d81a1923a4f73d6233ce /llvm/lib/ExecutionEngine/SectionMemoryManager.cpp | |
| parent | c110fbc2137e21e06161b2139775817c463e2ba7 (diff) | |
| download | bcm5719-llvm-b7f633b8d3c2c107f364c83243b2c5290f9e5769.tar.gz bcm5719-llvm-b7f633b8d3c2c107f364c83243b2c5290f9e5769.zip | |
[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
Diffstat (limited to 'llvm/lib/ExecutionEngine/SectionMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions

