https://bugs.llvm.org/show_bug.cgi?id=41880
Bug ID: 41880
Summary: ~RTDyldMemoryManager should call deregisterEHFrames
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: OrcJIT
Assignee: unassignedb...@nondot.org
Reporter: tneum...@users.sourceforge.net
CC: 1101.deb...@gmail.com, llvm-bugs@lists.llvm.org
The class RTDyldMemoryManager does not de-register the exception handling
frames automatically when the memory manager is destroyed. This leads to
crashes in C++ exception handling when an exception is thrown after an orc JIT
instance is destroyed.
The problem can be fixed trivially by calling deregisterEHFrames from the
destructor of RTDyldMemoryManager. This is a regression introduced by llvm 8,
and is probably an oversight caused by code movement.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs