[LLVMbugs] [Bug 18285] New: Exception raised in copy constructor during EH should go to terminator()
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Dec 19 10:50:52 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=18285
Bug ID: 18285
Summary: Exception raised in copy constructor during EH should
go to terminator()
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: weimingz at codeaurora.org
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 11751
--> http://llvm.org/bugs/attachment.cgi?id=11751&action=edit
test case
According to C++ standard:
15.5 Special functions
The functions std::terminate() and std::unexpected() are used by the exception
handling mechanism for coping with errors related to the exception handling
mechanism itself.
15.5.1 The std::terminate() function
In some situations exception handling must be abandoned for less subtle error
handling techniques.
These situations are:
when the exception handling mechanism, after completing the initialization of
the exception object but before activation of a handler for the exception calls
a function that exits via an exception
However, for the attached test case, control flow still goes to "catch"
--
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/20131219/f50d437a/attachment.html>
More information about the llvm-bugs
mailing list