Age | Commit message (Collapse) | Author | Files | Lines |
|
llvm-svn: 165397
|
|
substitution forward references. That is, sometimes a mangled name refers to
a substitution that hasn't yet been defined. The demangler was derferencing a
null pointer in this case because it wasn't properly guarded against a
forward reference. Test case added to catch this problem.
llvm-svn: 161267
|
|
because it crashed lldb when it tried to demangle the added test.
Not sure how it should identify the lambda so that might need changing from the current 'lambdax':: Howard: Please patch CREDITS.TXT.
llvm-svn: 161125
|
|
llvm-svn: 160039
|
|
llvm-svn: 155994
|
|
llvm-svn: 149635
|
|
llvm-svn: 149552
|
|
llvm-svn: 149545
|
|
llvm-svn: 149542
|
|
llvm-svn: 149541
|
|
Tests are only activated if #if __has_feature(cxx_nullptr).
llvm-svn: 149536
|
|
copy of gcc-4.2. But I believe the tests to be correct (and they pass for libc++abi). I've enquired on the C++ standards mailing list for a clarification in case I'm wrong. So far I've gotten one response that agrees with me.
llvm-svn: 149534
|
|
llvm-svn: 149530
|
|
llvm-svn: 149527
|
|
llvm-svn: 149459
|
|
llvm-svn: 149453
|
|
llvm-svn: 149436
|
|
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 :-)
llvm-svn: 149413
|
|
llvm-svn: 149412
|
|
llvm-svn: 149156
|
|
llvm-svn: 149155
|
|
testing purposes. We've agreed to simply rename fallback_malloc.cpp to fallback_malloc.ipp. Thanks Marshall.
llvm-svn: 148863
|
|
llvm-svn: 148646
|
|
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.
llvm-svn: 148246
|
|
timings to all of the tests.
llvm-svn: 148241
|
|
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).
llvm-svn: 148227
|
|
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.
llvm-svn: 148083
|
|
llvm-svn: 148047
|
|
performance. So far I haven't noticed any performance difference between this new __dynamic_cast and gcc's implementation. But I've barely started looking. Also adding a couple of tests which come straight out of the standard.
llvm-svn: 148046
|
|
comprehensive test for when there are only 3 types in place. I need to do something similar for 4 and maybe more types, but I'm not sure how comprehensive I can make the test at 4 and above types.
llvm-svn: 148038
|
|
dead code.
llvm-svn: 146677
|
|
llvm-svn: 146463
|
|
type> # construction vtable for second-in-first, and for <special-name> ::= GR <object name> # reference temporary for object
llvm-svn: 146274
|
|
llvm-svn: 145949
|
|
llvm-svn: 145543
|
|
references to function types
llvm-svn: 137469
|
|
llvm-svn: 135587
|
|
llvm-svn: 135586
|
|
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
|
|
llvm-svn: 132921
|
|
llvm-svn: 132832
|
|
llvm-svn: 132729
|
|
actual threads!
There's no build file for libcxxabi, so I'll tell you that I built it with this:
$ g++-4.6 -pthread -std=gnu++0x test_guard.cpp ../src/cxa_guard.o -o test_guard
llvm-svn: 132644
|
|
llvm-svn: 132545
|
|
Howard Hinnant and John McCall
llvm-svn: 132009
|
|
llvm-svn: 130921
|