Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Correct comment regarding members of __cxa_dependent_exception. Actually it ↵ | Howard Hinnant | 2012-01-08 | 1 | -2/+0 | |
| | | | | | | is useful to disguise a __cxa_dependent_exception as a __cxa_exception by filling in most (not all) of these members at __cxa_dependent_exception construction time. That way most routines don't have to care which kind of exception they have. llvm-svn: 147759 | |||||
* | __gxx_personality_v0 update. This is completely untested code. But my ↵ | Howard Hinnant | 2012-01-06 | 1 | -8/+283 | |
| | | | | | | brain is scrambled and I wanted to get it checked in. Code review from anyone who knows anything at all about personality functions would be much appreciated. What is in here is borrowed heavily from llvm/examples/ExceptionDemo/ExceptionDemo.cpp. There are some calls to abort() that should probably be changed to return an error code instead. There may be encodings under readEncodedPointer that need to be implemented. And my handling of type_info is almost a complete guess. llvm-svn: 147680 | |||||
* | Improved comment to explain why we can use __cxa_get_globals_fast here | Marshall Clow | 2012-01-04 | 1 | -0/+4 | |
| | | | | llvm-svn: 147554 | |||||
* | Just getting started on the personality routine. This is just a skeleton. ↵ | Howard Hinnant | 2012-01-04 | 2 | -6/+107 | |
| | | | | | | Still learning how to fill it in... llvm-svn: 147547 | |||||
* | Better comment | Marshall Clow | 2012-01-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 147532 | |||||
* | Don't allocate TLS storage when checking to see if an exception has been ↵ | Marshall Clow | 2012-01-03 | 1 | -1/+1 | |
| | | | | | | thrown - really llvm-svn: 147497 | |||||
* | Don't allocate TLS storage when checking to see if an exception has been thrown | Marshall Clow | 2012-01-03 | 1 | -0/+2 | |
| | | | | llvm-svn: 147492 | |||||
* | credits adjustment | Howard Hinnant | 2011-12-22 | 1 | -0/+6 | |
| | | | | llvm-svn: 147148 | |||||
* | Updated __cxa_current_exception_type to call __cxa_get_globals_fast - will ↵ | Marshall Clow | 2011-12-22 | 1 | -1/+3 | |
| | | | | | | not allocate globals llvm-svn: 147147 | |||||
* | Forgot to increment uncaughtExceptions in __cxa_rethrow_primary_exception | Howard Hinnant | 2011-12-21 | 1 | -0/+1 | |
| | | | | llvm-svn: 147108 | |||||
* | Added __cxa_increment_exception_refcount, ↵ | Howard Hinnant | 2011-12-21 | 1 | -7/+106 | |
| | | | | | | __cxa_decrement_exception_refcount, __cxa_current_primary_exception, __cxa_rethrow_primary_exception llvm-svn: 147106 | |||||
* | Add new and delete operators | Howard Hinnant | 2011-12-20 | 1 | -0/+194 | |
| | | | | llvm-svn: 146989 | |||||
* | Fixed several bugs, implemented support for vector types, and cleaned out ↵ | Howard Hinnant | 2011-12-15 | 1 | -4573/+214 | |
| | | | | | | dead code. llvm-svn: 146677 | |||||
* | Fix size calculation for pointer to member function | Howard Hinnant | 2011-12-13 | 1 | -1/+3 | |
| | | | | llvm-svn: 146463 | |||||
* | Made some minor tweaks to __cxa_rethrow | Howard Hinnant | 2011-12-12 | 1 | -6/+10 | |
| | | | | llvm-svn: 146396 | |||||
* | Added dependent exception support to __cxa_current_exception_type | Howard Hinnant | 2011-12-12 | 1 | -1/+5 | |
| | | | | llvm-svn: 146381 | |||||
* | Added support for <special-name> ::= TC <first type> <number> _ <second ↵ | Howard Hinnant | 2011-12-09 | 1 | -1/+131 | |
| | | | | | | type> # construction vtable for second-in-first, and for <special-name> ::= GR <object name> # reference temporary for object llvm-svn: 146274 | |||||
* | Modified __cxa_end_catch to handle dependent exceptions. | Howard Hinnant | 2011-12-08 | 2 | -19/+42 | |
| | | | | llvm-svn: 146172 | |||||
* | Reviewing cxa_exception.cpp and marking as implemented as I go. Not marking ↵ | Howard Hinnant | 2011-12-07 | 3 | -12/+36 | |
| | | | | | | as implemented on arm when I'm not sure about that platform. llvm-svn: 146072 | |||||
* | Substituted std::get_terminate() for direct access to the handler function ↵ | Howard Hinnant | 2011-12-06 | 1 | -2/+2 | |
| | | | | | | pointer (which is now a static in cxa_handlers.cpp). This has the advantage of going through the atomic API and so is less likely to cause a data race. Ditto for unexpected. llvm-svn: 145951 | |||||
* | Add/update copyright notices | Howard Hinnant | 2011-12-06 | 3 | -4/+17 | |
| | | | | llvm-svn: 145949 | |||||
* | terminate, unexpected and new handlers. If terminating while an exception is ↵ | Howard Hinnant | 2011-12-06 | 1 | -0/+140 | |
| | | | | | | unwinding, an attempt is made to print out the what() string if the exception is derived from std::exception. __terminate(handler) and __unexpected(handler) helpers are present in anticipation of other parts of libc++abi needing to call these interfaces with custom handlers. llvm-svn: 145948 | |||||
* | Updated heuristic regulating small string buffer | Howard Hinnant | 2011-12-01 | 1 | -1/+4 | |
| | | | | llvm-svn: 145543 | |||||
* | Add alignment requirement to char buffer | Howard Hinnant | 2011-11-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 145277 | |||||
* | reformatted to match Clang style; thanks to John McCall for the nudge | Marshall Clow | 2011-08-15 | 1 | -100/+109 | |
| | | | | llvm-svn: 137623 | |||||
* | demangler: Drop preceeding () from function types, but not from pointers and ↵ | Howard Hinnant | 2011-08-12 | 1 | -0/+102 | |
| | | | | | | references to function types llvm-svn: 137469 | |||||
* | First cut at exception handling; missing dependent exceptions. Next step: tests | Marshall Clow | 2011-08-09 | 1 | -7/+224 | |
| | | | | llvm-svn: 137118 | |||||
* | Silence some -Wall warnings pointed out by Marshall Clow | Howard Hinnant | 2011-08-08 | 1 | -52/+0 | |
| | | | | llvm-svn: 137047 | |||||
* | Remove include reference to non-existant file cxa_exception_storage.hpp | Marshall Clow | 2011-08-08 | 1 | -1/+0 | |
| | | | | llvm-svn: 137046 | |||||
* | use LIBCXXABI_NORETURN | Nick Kledzik | 2011-08-02 | 1 | -2/+5 | |
| | | | | llvm-svn: 136681 | |||||
* | use abort_message() for pthread errors in __cxa_get_globals | Nick Kledzik | 2011-08-02 | 1 | -9/+15 | |
| | | | | llvm-svn: 136672 | |||||
* | use abort_message() | Nick Kledzik | 2011-08-02 | 1 | -7/+3 | |
| | | | | llvm-svn: 136671 | |||||
* | move abort_message() to its own file | Nick Kledzik | 2011-08-02 | 1 | -7/+1 | |
| | | | | llvm-svn: 136670 | |||||
* | add abort_message() utility function | Nick Kledzik | 2011-08-02 | 2 | -0/+75 | |
| | | | | llvm-svn: 136669 | |||||
* | Updated comments | Marshall Clow | 2011-07-25 | 1 | -2/+2 | |
| | | | | llvm-svn: 135909 | |||||
* | Added copyright header | Marshall Clow | 2011-07-20 | 1 | -0/+14 | |
| | | | | llvm-svn: 135601 | |||||
* | Update status: http://libcxxabi.llvm.org/spec.html . Looking good! :-) | Howard Hinnant | 2011-07-20 | 1 | -4/+0 | |
| | | | | llvm-svn: 135590 | |||||
* | Memory manangement routines for exception objects | Marshall Clow | 2011-07-20 | 2 | -0/+268 | |
| | | | | llvm-svn: 135587 | |||||
* | Exception handling stuctures, and thread-local variables for exception handling | Marshall Clow | 2011-07-20 | 2 | -0/+176 | |
| | | | | llvm-svn: 135586 | |||||
* | In cxa_demangle.cpp, rewrite __parse_unresolved_name to reflect updated ↵ | Howard Hinnant | 2011-06-22 | 1 | -38/+77 | |
| | | | | | | understanding and sync with updated clang mangling. Also fix think-o in __parse_encoding enabling the parsing of trailing .eh and .b. llvm-svn: 133632 | |||||
* | Implement vector new and delete functionality | Marshall Clow | 2011-06-10 | 1 | -0/+367 | |
| | | | | llvm-svn: 132832 | |||||
* | tabs to spaces | Howard Hinnant | 2011-06-07 | 1 | -5/+5 | |
| | | | | llvm-svn: 132729 | |||||
* | Add support for the ARM EABI variant of the __cxa_guard methods, controlled by | Nick Lewycky | 2011-06-07 | 1 | -6/+62 | |
| | | | | | | the LIBCXXABI_ARMEABI macro. llvm-svn: 132723 | |||||
* | Added __cxa_bad_cast and __cxa_bad_typeid and placeholder NORETURN macro | Marshall Clow | 2011-06-03 | 2 | -0/+36 | |
| | | | | llvm-svn: 132524 | |||||
* | Introduce cxa_virtual.cpp and cxa_guard.cpp. Contributed by Nick Lewycky, ↵ | Howard Hinnant | 2011-05-24 | 2 | -0/+207 | |
| | | | | | | Howard Hinnant and John McCall llvm-svn: 132009 | |||||
* | initial import | Howard Hinnant | 2011-05-05 | 1 | -0/+14933 | |
llvm-svn: 130921 |