[cfe-commits] Patch for libcxxabi
Marshall Clow
mclow.lists at gmail.com
Thu Jun 2 11:22:27 PDT 2011
On Jun 2, 2011, at 10:43 AM, Anders Carlsson wrote:
> On Jun 2, 2011, at 10:35 AM, Marshall Clow wrote:
>
>> Implements __cxa_bad_cast and __cxa_bad_typeid
>>
>> Needs tests, though ;-)
>>
>
> This patch is incorrect. __cxa_bad_cast should throw an std::bad_cast exception, and __cxa_bad_typeid should throw a std::bad_typeid exception.
Hmm.
I thought that this was the "last resort" call - -what happens when such an exception is not caught.
More reading up on my part ;-)
Thanks for the info.
-- Marshall
More information about the cfe-commits
mailing list