OLD | NEW |
(Empty) | |
| 1 --- src/cxa_default_handlers.cpp (revision 245965) |
| 2 +++ src/cxa_default_handlers.cpp (working copy) |
| 3 @@ -46,13 +46,7 @@ |
| 4 exception_header + 1; |
| 5 const __shim_type_info* thrown_type = |
| 6 static_cast<const __shim_type_info*>(exception_header->exce
ptionType); |
| 7 - // Try to get demangled name of thrown_type |
| 8 - int status; |
| 9 - char buf[1024]; |
| 10 - size_t len = sizeof(buf); |
| 11 - const char* name = __cxa_demangle(thrown_type->name(), buf, &le
n, &status); |
| 12 - if (status != 0) |
| 13 - name = thrown_type->name(); |
| 14 + const char* name = thrown_type->name(); |
| 15 // If the uncaught exception can be caught with std::exception& |
| 16 const __shim_type_info* catch_type = |
| 17 static_cast<const __shim_type_info*>(&typeid(st
d::exception)); |
OLD | NEW |