[llvm-bugs] [Bug 33616] New: MCJIT does not propagate errors from mprotect
llvm-bugs at lists.llvm.org
Tue Jun 27 14:37:33 PDT 2017
Bug ID: 33616
Summary: MCJIT does not propagate errors from mprotect
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: tim.g.armstrong at gmail.com
CC: llvm-bugs at lists.llvm.org
MCJIT::finalizeLoadedModules() ignores the return value (and error argument)
from MemMgr->finalizeMemory(), which appears to be the only way that an error
code from mprotect() is propagated. mprotect() can fail for various reasons and
it would be good if clients of MCJIT could detect the problem and fail
Bug #6701 mentions this problem as well.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs