summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [sanitizer] Workaround broken mktemp on certain platforms.Evgeniy Stepanov2013-01-181-3/+5
| | | | llvm-svn: 172827
* CMake: create AddCompilerRT module and implement convenience ↵Alexey Samsonov2013-01-188-44/+54
| | | | | | add_compiler_rt_object_library function llvm-svn: 172826
* [sanitizer] Enable cpplint for .inc files.Evgeniy Stepanov2013-01-183-7/+19
| | | | llvm-svn: 172825
* The IR linker still depends on the bitcode reader.Benjamin Kramer2013-01-181-1/+1
| | | | llvm-svn: 172824
* llvm/test/CodeGen/X86/Atomics-64.ll: Tweak for 2nd RUN not to overwrite %t. ↵NAKAMURA Takumi2013-01-181-2/+2
| | | | | | | | It sometimes causes spurious failure on lit win32. Feel free to prune or suppress each output. llvm-svn: 172823
* Fixes issues around pulling in the next line in simple if statements.Manuel Klimek2013-01-182-12/+19
| | | | llvm-svn: 172822
* Introduce llvm::sys::PrintStackTraceOnErrorSignal()NAKAMURA Takumi2013-01-184-0/+8
| | | | llvm-svn: 172821
* clang/test/CodeGen: Suppress a couple of tests on win32. It seems ↵NAKAMURA Takumi2013-01-182-0/+6
| | | | | | -fsanitize-blacklist doesn't accept DOSish pathnames. llvm-svn: 172820
* Fixes problems with line merging in the face of preprocessor directives.Manuel Klimek2013-01-183-7/+58
| | | | | | | | | | | | | | | This patch prepares being able to test for and fix more problems (see FIXME in the test for example). Previously we would output unwrapped lines for preprocessor directives at the point where we also parsed the hash token. Since often projections only terminate (and thus output their own unwrapped line) after peeking at the next token, this would lead to the formatter seeing the preprocessor directives out-of-order (slightly earlier). To be able to correctly identify lines to merge, the formatter needs a well-defined order of unwrapped lines, which this patch introduces. llvm-svn: 172819
* clang-check: Introduce llvm::sys::PrintStackTraceOnErrorSignal()NAKAMURA Takumi2013-01-181-0/+2
| | | | llvm-svn: 172818
* [sanitizer] lintEvgeniy Stepanov2013-01-185-14/+26
| | | | llvm-svn: 172817
* CMake: start to generalize rules for non-x86 architecturesAlexey Samsonov2013-01-181-16/+20
| | | | llvm-svn: 172816
* [asan] kill some dead codeKostya Serebryany2013-01-183-24/+0
| | | | llvm-svn: 172815
* [sanitizer] Rename 2 files *.h->*.inc as appropriate.Evgeniy Stepanov2013-01-187-18/+34
| | | | | | Also add a missing include. llvm-svn: 172814
* 80 columnsAlexey Samsonov2013-01-181-1/+2
| | | | llvm-svn: 172813
* CMake variables renaming: X86_64->x86_64 I386->i386Alexey Samsonov2013-01-1812-45/+46
| | | | llvm-svn: 172812
* [sanitizer] Remove an unused variable.Evgeniy Stepanov2013-01-181-1/+0
| | | | llvm-svn: 172811
* [ASan] Fix compilation on Mac.Alexander Potapenko2013-01-181-6/+8
| | | | llvm-svn: 172810
* [sanitizer] Fix Mac build.Evgeniy Stepanov2013-01-183-2/+15
| | | | llvm-svn: 172809
* [ubsan] Add support for -fsanitize-blacklistWill Dietz2013-01-1819-68/+133
| | | | llvm-svn: 172808
* [asan] fix two off-by-one errors that seem to affect only PowerPC because ↵Kostya Serebryany2013-01-183-3/+3
| | | | | | only there the stack top may be equal to the address space top. Noted by Andreas Schwab in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55975#c11 . Also make swapcontext interceptor a bit more robust llvm-svn: 172807
* Move Blacklist.h to include/ to enable use from clang.Will Dietz2013-01-185-17/+18
| | | | llvm-svn: 172806
* [sanitizer] Common *scanf interceptors.Evgeniy Stepanov2013-01-1813-42/+383
| | | | llvm-svn: 172805
* Reduce penalty for splitting between ")" and ".".Daniel Jasper2013-01-183-13/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ').' is likely part of a builder pattern statement. This is based upon a patch developed by Nico Weber. Thank you! Before: int foo() { return llvm::StringSwitch<Reference::Kind>(name).StartsWith( ".eh_frame_hdr", ORDER_EH_FRAMEHDR).StartsWith( ".eh_frame", ORDER_EH_FRAME).StartsWith(".init", ORDER_INIT).StartsWith( ".fini", ORDER_FINI).StartsWith(".hash", ORDER_HASH).Default(ORDER_TEXT); } After: int foo() { return llvm::StringSwitch<Reference::Kind>(name) .StartsWith(".eh_frame_hdr", ORDER_EH_FRAMEHDR) .StartsWith(".eh_frame", ORDER_EH_FRAME) .StartsWith(".init", ORDER_INIT).StartsWith(".fini", ORDER_FINI) .StartsWith(".hash", ORDER_HASH).Default(ORDER_TEXT); } Probably not ideal, but makes many cases much more readable. The changes to overriding-ftemplate-comments.cpp don't seem better or worse. We should address those soon. llvm-svn: 172804
* Remove references to pthread_workqueue_additem_np(), which isn't in the ↵Alexander Potapenko2013-01-181-46/+0
| | | | | | official libdispatch API. llvm-svn: 172802
* Add basic command line parsing to TestMain.Manuel Klimek2013-01-181-0/+2
| | | | | | | | | | | | | Summary: This allows unit tests for components that use Support/Debug.h to print debug information from test runs by specifying -debug when running the test. CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D301 llvm-svn: 172801
* [ASan] fixes for Android buildAlexey Samsonov2013-01-183-4/+4
| | | | llvm-svn: 172800
* Also align trailing line comments in include directives.Daniel Jasper2013-01-182-9/+16
| | | | | | | | | | | Before: #include <a> // for x #include <a/b/c> // for yz After: #include <a> // for x #include <a/b/c> // for yz llvm-svn: 172799
* Let the formatter align trailing line comments where possible.Daniel Jasper2013-01-182-54/+158
| | | | | | | | | | | | Before: int a; // comment int bbbbb; // comment After: int a; // comment int bbbbb; // comment llvm-svn: 172798
* Calculate vector element size more directly for VINSERTF128/VEXTRACTF128 ↵Craig Topper2013-01-181-6/+4
| | | | | | immediate handling. Also use MVT since this only called on legal types during pattern matching. llvm-svn: 172797
* Minor formatting fix. No functional change.Craig Topper2013-01-181-1/+1
| | | | llvm-svn: 172795
* Remove support for Tcl test format since nobody uses itDmitri Gribenko2013-01-1821-664/+11
| | | | llvm-svn: 172794
* Spelling fix: extened->extended. Trailing whitespace in same function.Craig Topper2013-01-181-5/+6
| | | | llvm-svn: 172793
* Make more use of is128BitVector/is256BitVector in place of getSizeInBits() ↵Craig Topper2013-01-181-35/+31
| | | | | | == 128/256. llvm-svn: 172792
* [sanitizer] reapply r172719, r172721-172723, r172725, and also fix the ↵Kostya Serebryany2013-01-1810-128/+129
| | | | | | warning on Mac. llvm-svn: 172791
* Formatter: After case blocks, "break" goes on the same line as the "}", PR14907.Nico Weber2013-01-183-2/+30
| | | | | | | | | | | | | | | | | | | | | Before: switch (foo) { case a: { int a = g(); h(a); } break; } Now: switch (foo) { case a: { int a = g(); h(a); } break; } llvm-svn: 172789
* Check for less than 0 in shuffle mask instead of -1. It's more consistent ↵Craig Topper2013-01-181-1/+1
| | | | | | with other code related to shuffles and easier to implement in compiled code. llvm-svn: 172788
* Formatter: Enable @encode test.Nico Weber2013-01-181-1/+3
| | | | | | | This doesn't work right with pointers to pointers, but that's likely just a dupe of PR14884. llvm-svn: 172785
* Remove trailing whitespace. Remove new lines between closing brace and 'else'Craig Topper2013-01-181-7/+5
| | | | llvm-svn: 172784
* Revert Clang r172620 and r172629, which caused a hang when buildingDouglas Gregor2013-01-187-78/+74
| | | | | | | complicated modules (<rdar://problem/13038265>). Unfortunately, this un-fixes <rdar://problem/13016031>. llvm-svn: 172783
* Fixed 80+ violation.Michael Gottesman2013-01-181-2/+2
| | | | llvm-svn: 172782
* Formatter: The contents of @selector() should be formatted as a selector.Nico Weber2013-01-182-13/+46
| | | | | | Before: @selector(foo: ) Now: @selector(foo:) llvm-svn: 172781
* When checking the parameter types of an Objective-C method, don'tDouglas Gregor2013-01-182-3/+5
| | | | | | | decay the parameter type immediately; let CheckParameter() do its job. Fixes <rdar://problem/12071218>. llvm-svn: 172780
* [MC/Mach-O] Add support for linker options in Mach-O files.Daniel Dunbar2013-01-189-7/+148
| | | | llvm-svn: 172779
* [MC/Mach-O] Add AsmParser support for .linker_option directive.Daniel Dunbar2013-01-184-0/+66
| | | | llvm-svn: 172778
* [MC] Expose ParseEscapedString to target AsmParser implementations.Daniel Dunbar2013-01-182-4/+5
| | | | llvm-svn: 172777
* [MC] Fix 80-col violas.Daniel Dunbar2013-01-181-41/+89
| | | | llvm-svn: 172776
* <rdar://problem/12243932> Jason Molenda2013-01-182-5/+21
| | | | | | | Change RNBSocket from using lockdown's lockdown_secure_checkin() function to using lockdown's secure_lockdown_checkin() function. llvm-svn: 172775
* [ms-inline asm] Test case for r172773.Chad Rosier2013-01-181-0/+12
| | | | llvm-svn: 172774
* [ms-inline asm] Make the error message more generic now that we support the Chad Rosier2013-01-181-1/+1
| | | | | | 'SIZE' and 'LENGTH' operators. llvm-svn: 172773
OpenPOWER on IntegriCloud