summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/SectionMemoryManager.cpp
diff options
context:
space:
mode:
authorJeroen Ketema <j.ketema@imperial.ac.uk>2016-04-01 07:56:17 +0000
committerJeroen Ketema <j.ketema@imperial.ac.uk>2016-04-01 07:56:17 +0000
commitb7f633b8d3c2c107f364c83243b2c5290f9e5769 (patch)
treecc2d20f29b30dd4d5b69d81a1923a4f73d6233ce /llvm/lib/ExecutionEngine/SectionMemoryManager.cpp
parentc110fbc2137e21e06161b2139775817c463e2ba7 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud