summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src/stdexcept.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make libc++abi use the implementation of __numstr from libc++. No ↵Marshall Clow2014-05-071-127/+6
| | | | | | functionality change, just removal of duplicated code. llvm-svn: 208246
* Change the two last remaining _LIBCPP_CANTTHROW to _NOEXCEPTJean-Daniel Dupas2013-08-291-2/+2
| | | | llvm-svn: 189603
* Propagate the removal of _LIBCPP_CANTTHROW (r189046) to libcxxabi. This ↵Howard Hinnant2013-08-251-5/+5
| | | | | | fixes http://llvm.org/bugs/show_bug.cgi?id=16996. llvm-svn: 189194
* Demangler update: This now demangles many more (all?) C++11 symbols. ↵Howard Hinnant2013-06-171-1/+1
| | | | | | Demangler tests updated. llvm-svn: 184097
* Two changes: 1) I still didn't have the ABI correct to match the gcc-4.2 ↵Howard Hinnant2012-09-281-10/+19
| | | | | | std::string under the exception classes. I think the changes to stdexcept.cpp have got that down now. 2) On Apple platforms I'm seeing visibility bugs in applications with respect to type_info's being hidden. This is causing dynamic_cast to malfunction because there are multiple type_info's running around for one type within an application, making dynamic_cast believe that one type is actually multiple types. As a stop gap measure I'm trying to detect this error, print out an error message, but continue with the most likely desired result. This is all under __APPLE__. This behavior can be expanded to other platforms if desired. llvm-svn: 164809
* Tweak use of dlopen to be a little more correct and higher performing.Howard Hinnant2012-09-211-1/+1
| | | | llvm-svn: 164404
* I've added Apple-only behavior that looks for libstdc++ in the same process ↵Howard Hinnant2012-09-181-6/+44
| | | | | | and if found, checks the string stored in <stdexcept> exception objects to see if it is the gcc empty string singleton before manipulating the reference count. This is done so that if such an exception is created with a zero-length string in libstdc++, libc++abi won't try to delete the memory. This is part of a ongoing process to make libc++ exceptions ABI-compatible with libstdc++-4.2 exceptions, to the point that each library can catch exceptions thrown by the other. If other parties would also like this behavior, the #if __APPLE__ can be broadened. llvm-svn: 164170
* Change size of reference count field in __libcpp_nmstr from 32 bits to 64 ↵Howard Hinnant2012-08-081-3/+3
| | | | | | bits for 64 bit targets. This is controls the data layout of all exceptions defined in <stdexcept>. This aligns the ABI with that of gcc-4.2. llvm-svn: 161496
* Move typeinfos for exceptions in <stdexcept> to the abiHoward Hinnant2012-02-171-0/+122
llvm-svn: 150834
OpenPOWER on IntegriCloud