hanchenye-llvm-project/libcxxabi
Howard Hinnant f55694af01 Two bug fixes, several clarifications, and a few comment updates.
llvm-svn: 148180
2012-01-14 14:15:43 +00:00
..
include Added __cxa_increment_exception_refcount, __cxa_decrement_exception_refcount, __cxa_current_primary_exception, __cxa_rethrow_primary_exception 2011-12-21 23:32:11 +00:00
src Two bug fixes, several clarifications, and a few comment updates. 2012-01-14 14:15:43 +00:00
test Enclosed is a stress test for dynamic_cast. It stresses both libc++abi, and clang itself. It creates a ridiculously large class hierarchy using variadic templates. You can specify both the width and depth of the class hierarchy. And you can specify whether the cast is to the actual run time type, or to an intermediate layer in the class. About 1/3 of the time I compile this, it crashes the compiler. There seems to be an uninitialized area of memory, and I'm probably blowing past an assumption on class hierarchy size within clang (and understandably so). I can get it work most of the time with a class hierarchy width of 20 and a depth of 7. I'm making timings with both -O3 and -Os, using both cast to root and cast to intermediate, on both libc++abi, and gcc's dynamic_cast. I've put the results in a comment/table at the bottom of the test. 2012-01-13 01:22:31 +00:00
www Updated spec.html regarding __cxa_uncaught_exception. 2011-12-22 00:03:36 +00:00
CREDITS.TXT credits adjustment 2011-12-22 16:00:06 +00:00
LICENSE.TXT