- Jan 31, 2012
-
-
Bob Wilson authored
The Darwin toolchain constructor was assuming that all Darwin triples would have an OS string starting with "darwin". Triples starting with "macosx" would misinterpret the version number, and "ios" triples would completely miss the version number (or worse) because the OS name is not 6 characters long. We lose some sanity checking of triple strings here, since the Triple.getOSVersion function doesn't do all the checking that the previous code did, but this still seems like a step in the right direction. llvm-svn: 149422
-
Enrico Granata authored
llvm-svn: 149421
-
Enrico Granata authored
llvm-svn: 149420
-
Enrico Granata authored
llvm-svn: 149419
-
Jakob Stoklund Olesen authored
This class is used to represent SubRegIndex instances instead of the raw Record pointers that were used before. No functional change intended. llvm-svn: 149418
-
Jim Grosbach authored
Excellent suggestion from Ben Kramer. llvm-svn: 149417
-
Jim Grosbach authored
llvm-svn: 149416
-
Tobias Grosser authored
Found by Ryan Taylor llvm-svn: 149415
-
Howard Hinnant authored
Back the optimization down from -O3 to -Os. I'm getting an unexplained crasher on -O3. I've looked for a libc++abi bug and can't find one. I'm suspecting clang optimizer bug. But I don't have a good test case at the moment. Deferring investigation on this for now as I will soon be developing more and smaller tests. llvm-svn: 149414
-
Howard Hinnant authored
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 :-) llvm-svn: 149413
-
Howard Hinnant authored
llvm-svn: 149412
-
Manuel Klimek authored
now that this handles the release / retain calls. Adds a regression test for that bug (which is a compile-time regression) and for the last two changes to the IntrusiveRefCntPtr, especially tests for the memory leak due to copy construction of the ref-counted object and ensuring that the traits are used for release / retain calls. llvm-svn: 149411
-
Tobias Grosser authored
Reported by Sebastian Pop llvm-svn: 149410
-
Howard Hinnant authored
Have the default unexpected/terminate handler output *demangled* names for the type of exception instead of the mangled name. llvm-svn: 149409
-
Jim Grosbach authored
llvm-svn: 149408
-
Anna Zaks authored
(Since this is syntax only, might be a good candidate for turning into a compiler warning.) llvm-svn: 149407
-
Anna Zaks authored
replacements for 'starcat/strcpy' instead of 'strncat/strncpy'. llvm-svn: 149406
-
Chad Rosier authored
llvm-svn: 149405
-
Ted Kremenek authored
Revert r149359. This was a hack to a problem with an easy workaround, and it doesn't feel like general solution. llvm-svn: 149404
-
Howard Hinnant authored
llvm-svn: 149403
-
Matt Beaumont-Gay authored
A separate unreachable message will make it easier to debug if either of the unreachables is reached. llvm-svn: 149402
-
David Chisnall authored
Patch by Niels Grewe! llvm-svn: 149401
-
Howard Hinnant authored
Found and fixed a bug in __cxa_call_unexpected. If the unexpected_handler rethrows the same exception then needed information gets overwritten in the original exception header. Therefore save it locally before executing the unexpected_handler. llvm-svn: 149400
-
Andrew Trick authored
llvm-svn: 149398
-
Chris Lattner authored
__has_builtin in an empty file, as we were overwriting the EOF token. Overwriting an arbitrary token never seems like a good idea in the error case. This fixes a bug reported on the GCC list :) llvm-svn: 149397
-
Devang Patel authored
Add assembler dialect attribute in asm parser which lets target specific asm parser change dialect on the fly. llvm-svn: 149396
-
Kostya Serebryany authored
[asan] fix the wrong __WORDSIZE definition on Win x64, add ASAN_INTERFACE_FUNCTION_ATTRIBUTE. Patch by timurrrr@google.com llvm-svn: 149395
-
Jean-Daniel Dupas authored
llvm-svn: 149394
-
Enrico Granata authored
Splitting test case for Python synthetic children: part 1 test is only testing the synthetic children feature itself. More test cases will be commited for individual STL containers llvm-svn: 149393
-
Kostya Serebryany authored
llvm-svn: 149392
-
Rafael Espindola authored
llvm-svn: 149391
-
Enrico Granata authored
llvm-svn: 149390
-
Howard Hinnant authored
Found and fixed bug in personality function: Don't dive into the action table if the action entry is zero. llvm-svn: 149389
-
Enrico Granata authored
This commit provides a new default summary for Objective-C boolean variables, which shows YES or NO instead of the character value. A new category named objc is added to contain this summary provider. Any future Objective-C related formatters would probably fit here llvm-svn: 149388
-
Hans Wennborg authored
This fixes the case where Clang would output: error: format specifies type 'wchar_t *' (aka 'wchar_t *') ArgTypeResult::getRepresentativeTypeName needs to take into account that wchar_t can be a built-in type (as opposed to in C, where it is a typedef). llvm-svn: 149387
-
Tobias Grosser authored
Such a dead code elimination can remove redundant stores to arrays. It can also eliminate calculations where the results are stored to memory but where they are overwritten before ever being read. It may also fix bugs like: http://llvm.org/bugs/show_bug.cgi?id=5117 This commit just adds a sceleton without any functionality. If anybody is interested to learn about polyhedral optimizations this would be a good task. Well definined, self contained and pretty simple. Ping me if you want to start and you need some pointers to get going. llvm-svn: 149386
-
Erik Verbruggen authored
llvm-svn: 149385
-
Tobias Grosser authored
llvm-svn: 149383
-
Alexander Potapenko authored
llvm-svn: 149382
-
Benjamin Kramer authored
llvm-svn: 149377
-