- b16496b Fix or disable C++11 tests in C++03 mode by Eric Fiselier · 9 years ago
- c0b4808 Rename all of the tests in preparation for merging lit configs with libcxx by Jonathan Roelofs · 10 years ago[Renamed from test/dynamic_cast_stress.cpp]
- 30ad829 [libcxxabi] Refactor test timing logic and disable by default. by Eric Fiselier · 10 years ago
- 830713c More test cases concentrating on catching class types. by Howard Hinnant · 13 years ago
- 9fb5709 Drop the stress a notch on dynamic_cast_stress.cpp. Otherwise it occasionally causes clang to crash. Put a noexcept(false) on a throwing destructor in test_vector1.cpp. The test now passes for both C++03 and C++11 modes. Add testit script. All tests are now PASSING :-) by Howard Hinnant · 13 years ago
- 6525563 One more small optimization: Where possible, for loops that do a search and then try to break out of the loop early, eliminate the attempt to break out of the loop after the last search. And with that, I'm declaring __dynamic_cast done. Though if anyone sees any problems, has suggestions for improvements, or wants to contribute some test cases, that is certainly welcome feedback. by Howard Hinnant · 13 years ago
- 1309366 I think this is getting close on __dynamic_cast. There's been quite a bit of code rearrangement, renaming, and better commenting. This exercise has exposed and fixed a few more bugs. I've also added several more tests (there's definitely a need for more tests here). by Howard Hinnant · 13 years ago
- a39c104 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. by Howard Hinnant · 13 years ago