[LLVMbugs] [Bug 21117] New: ExecutionEngine::runStaticConstructorsDestructors seems not to run destructors
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Oct 1 11:50:33 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=21117
Bug ID: 21117
Summary: ExecutionEngine::runStaticConstructorsDestructors
seems not to run destructors
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Generic Execution Engine Support
Assignee: unassignedbugs at nondot.org
Reporter: henrik.nyberg at oryx.se
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
(This issue has been observed with version 3.5)
In my setup I have a MCJIT execution engine with one module loaded. Calling
runStaticConstructorsDestructors(false) runs the static constructors just fine,
while calling it with false does not trigger the static destructors.
At least the function name hints that the destructors should be run. The
destructors do in the end get called on process exit, but it would be nice to
be able to call them at an earlier point.
lhames mentioned that he'd chime in with a test case for this issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141001/8ada1c2c/attachment.html>
More information about the llvm-bugs
mailing list