summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Correct comment regarding members of __cxa_dependent_exception. Actually it ↵Howard Hinnant2012-01-081-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 Hinnant2012-01-061-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 hereMarshall Clow2012-01-041-0/+4
| | | | llvm-svn: 147554
* Just getting started on the personality routine. This is just a skeleton. ↵Howard Hinnant2012-01-042-6/+107
| | | | | | Still learning how to fill it in... llvm-svn: 147547
* Better commentMarshall Clow2012-01-041-1/+1
| | | | llvm-svn: 147532
* Don't allocate TLS storage when checking to see if an exception has been ↵Marshall Clow2012-01-031-1/+1
| | | | | | thrown - really llvm-svn: 147497
* Don't allocate TLS storage when checking to see if an exception has been thrownMarshall Clow2012-01-031-0/+2
| | | | llvm-svn: 147492
* credits adjustmentHoward Hinnant2011-12-221-0/+6
| | | | llvm-svn: 147148
* Updated __cxa_current_exception_type to call __cxa_get_globals_fast - will ↵Marshall Clow2011-12-221-1/+3
| | | | | | not allocate globals llvm-svn: 147147
* Forgot to increment uncaughtExceptions in __cxa_rethrow_primary_exceptionHoward Hinnant2011-12-211-0/+1
| | | | llvm-svn: 147108
* Added __cxa_increment_exception_refcount, ↵Howard Hinnant2011-12-211-7/+106
| | | | | | __cxa_decrement_exception_refcount, __cxa_current_primary_exception, __cxa_rethrow_primary_exception llvm-svn: 147106
* Add new and delete operatorsHoward Hinnant2011-12-201-0/+194
| | | | llvm-svn: 146989
* Fixed several bugs, implemented support for vector types, and cleaned out ↵Howard Hinnant2011-12-151-4573/+214
| | | | | | dead code. llvm-svn: 146677
* Fix size calculation for pointer to member functionHoward Hinnant2011-12-131-1/+3
| | | | llvm-svn: 146463
* Made some minor tweaks to __cxa_rethrowHoward Hinnant2011-12-121-6/+10
| | | | llvm-svn: 146396
* Added dependent exception support to __cxa_current_exception_typeHoward Hinnant2011-12-121-1/+5
| | | | llvm-svn: 146381
* Added support for <special-name> ::= TC <first type> <number> _ <second ↵Howard Hinnant2011-12-091-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 Hinnant2011-12-082-19/+42
| | | | llvm-svn: 146172
* Reviewing cxa_exception.cpp and marking as implemented as I go. Not marking ↵Howard Hinnant2011-12-073-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 Hinnant2011-12-061-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 noticesHoward Hinnant2011-12-063-4/+17
| | | | llvm-svn: 145949
* terminate, unexpected and new handlers. If terminating while an exception is ↵Howard Hinnant2011-12-061-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 bufferHoward Hinnant2011-12-011-1/+4
| | | | llvm-svn: 145543
* Add alignment requirement to char bufferHoward Hinnant2011-11-281-1/+1
| | | | llvm-svn: 145277
* reformatted to match Clang style; thanks to John McCall for the nudgeMarshall Clow2011-08-151-100/+109
| | | | llvm-svn: 137623
* demangler: Drop preceeding () from function types, but not from pointers and ↵Howard Hinnant2011-08-121-0/+102
| | | | | | references to function types llvm-svn: 137469
* First cut at exception handling; missing dependent exceptions. Next step: testsMarshall Clow2011-08-091-7/+224
| | | | llvm-svn: 137118
* Silence some -Wall warnings pointed out by Marshall ClowHoward Hinnant2011-08-081-52/+0
| | | | llvm-svn: 137047
* Remove include reference to non-existant file cxa_exception_storage.hppMarshall Clow2011-08-081-1/+0
| | | | llvm-svn: 137046
* use LIBCXXABI_NORETURNNick Kledzik2011-08-021-2/+5
| | | | llvm-svn: 136681
* use abort_message() for pthread errors in __cxa_get_globalsNick Kledzik2011-08-021-9/+15
| | | | llvm-svn: 136672
* use abort_message()Nick Kledzik2011-08-021-7/+3
| | | | llvm-svn: 136671
* move abort_message() to its own fileNick Kledzik2011-08-021-7/+1
| | | | llvm-svn: 136670
* add abort_message() utility functionNick Kledzik2011-08-022-0/+75
| | | | llvm-svn: 136669
* Updated commentsMarshall Clow2011-07-251-2/+2
| | | | llvm-svn: 135909
* Added copyright headerMarshall Clow2011-07-201-0/+14
| | | | llvm-svn: 135601
* Update status: http://libcxxabi.llvm.org/spec.html . Looking good! :-)Howard Hinnant2011-07-201-4/+0
| | | | llvm-svn: 135590
* Memory manangement routines for exception objectsMarshall Clow2011-07-202-0/+268
| | | | llvm-svn: 135587
* Exception handling stuctures, and thread-local variables for exception handlingMarshall Clow2011-07-202-0/+176
| | | | llvm-svn: 135586
* In cxa_demangle.cpp, rewrite __parse_unresolved_name to reflect updated ↵Howard Hinnant2011-06-221-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 functionalityMarshall Clow2011-06-101-0/+367
| | | | llvm-svn: 132832
* tabs to spacesHoward Hinnant2011-06-071-5/+5
| | | | llvm-svn: 132729
* Add support for the ARM EABI variant of the __cxa_guard methods, controlled byNick Lewycky2011-06-071-6/+62
| | | | | | the LIBCXXABI_ARMEABI macro. llvm-svn: 132723
* Added __cxa_bad_cast and __cxa_bad_typeid and placeholder NORETURN macroMarshall Clow2011-06-032-0/+36
| | | | llvm-svn: 132524
* Introduce cxa_virtual.cpp and cxa_guard.cpp. Contributed by Nick Lewycky, ↵Howard Hinnant2011-05-242-0/+207
| | | | | | Howard Hinnant and John McCall llvm-svn: 132009
* initial importHoward Hinnant2011-05-051-0/+14933
llvm-svn: 130921
OpenPOWER on IntegriCloud