summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* clang/test/Tooling: Tweak 4 tests to escape the path separator s/\\/\\\\/g ↵NAKAMURA Takumi2012-05-234-8/+7
| | | | | | in JSON. llvm-svn: 157351
* Tooling: Canonicalize Key in IndexByFile[]. llvm::sys::path::native() may be ↵NAKAMURA Takumi2012-05-232-4/+12
| | | | | | | | used here. It fixes test/Tooling on Win32 hosts. llvm-svn: 157350
* Forgot to reverse conditional.Bill Wendling2012-05-231-1/+1
| | | | llvm-svn: 157349
* Reduce indentation by early detection of 'continue'. No functionality change.Bill Wendling2012-05-231-79/+87
| | | | llvm-svn: 157348
* [arcmt] Remove an unused -autorelease, without failing with error, for thisArgyrios Kyrtzidis2012-05-2310-70/+203
| | | | | | | | | | | idiom that is used commonly in setters: [backingValue autorelease]; backingValue = [newValue retain]; // in general a +1 assign rdar://9914061 llvm-svn: 157347
* [driver] Have the crash diagnostics print the clang version information.Chad Rosier2012-05-231-0/+3
| | | | | | rdar://11518308 llvm-svn: 157346
* Add the capability to display the number of supported hardware watchpoints ↵Johnny Chen2012-05-2317-1/+154
| | | | | | | | | to the "watchpoint list" command. Add default Process::GetWatchpointSupportInfo() impl which returns an error of "not supported". Add "qWatchpointSupportInfo" packet to the gdb communication layer to support this, and modify TestWatchpointCommands.py to test it. llvm-svn: 157345
* llvm-ld does not exist anymore, use llvm-link instead.Nicolas Geoffray2012-05-231-4/+7
| | | | llvm-svn: 157342
* Fix typo in flag to opt, and also a CHECK-NEXT that doesn't follow aKaelyn Uhrain2012-05-231-2/+2
| | | | | | | | CHECK. The latter error was hidden by the former, and the test harness used by e.g. "make check" silently ignored that opt was printing an error message about an unknown flag instead of running on the test file. llvm-svn: 157341
* Correctly deal with identity copies in RegisterCoalescer.Jakob Stoklund Olesen2012-05-232-7/+100
| | | | | | | | | | | | | | | | | Now that the coalescer keeps live intervals and machine code in sync at all times, it needs to deal with identity copies differently. When merging two virtual registers, all identity copies are removed right away. This means that other identity copies must come from somewhere else, and they are going to have a value number. Deal with such copies by merging the value numbers before erasing the copy instruction. Otherwise, we leave dangling value numbers in the live interval. This fixes PR12927. llvm-svn: 157340
* Update checker build.Ted Kremenek2012-05-232-2/+8
| | | | llvm-svn: 157339
* Fix how CMake appends -m32 to linker command-linesTim Northover2012-05-231-2/+2
| | | | llvm-svn: 157337
* [arm-fast-isel] Add support for non-global callee.Chad Rosier2012-05-232-7/+37
| | | | | | Patch by Jush Lu <jush.msn@gmail.com>. llvm-svn: 157336
* Adds the Refactoring library, which is a layer on top of the Tooling libraryManuel Klimek2012-05-235-1/+627
| | | | | | that allows easy refactoring across translation units. llvm-svn: 157331
* extra ';' outside of a function [-pedantic,-Wextra-semi]Filipe Cabecinhas2012-05-231-1/+1
| | | | llvm-svn: 157330
* BoundsChecking: add a couple of simple tests and fix a bug in branch emitionNuno Lopes2012-05-232-7/+97
| | | | llvm-svn: 157329
* Small fixes: actually return a boolean and remove semi-colons.Filipe Cabecinhas2012-05-232-2/+2
| | | | llvm-svn: 157328
* Process::Destroy should Halt before it tries to destroy so we don't have ↵Jim Ingham2012-05-231-0/+26
| | | | | | | | race conditions where we are in the middle of trying to service an event when we go to Destroy. The AttachCompletionHandler should note that it has restarted the target if it indeed does so. llvm-svn: 157327
* Move AsanShadowRangeIsAvailable() from mac to posix.Evgeniy Stepanov2012-05-233-32/+30
| | | | llvm-svn: 157326
* revert r156383: removal of TYPE_CODE_FUNCTION_OLDNuno Lopes2012-05-232-0/+23
| | | | | | Apparently LLVM only stopped emitting this after LLVM 3.0 llvm-svn: 157325
* Fix the inliner so that the optsize function attribute don't alter thePatrik Hägglund2012-05-232-8/+44
| | | | | | | | inline threshold if the global inline threshold is lower (as for -Oz). Reviewed by Chandler Carruth and Bill Wendling. llvm-svn: 157323
* Fixed typo in r156905.Patrik Hägglund2012-05-232-4/+4
| | | | llvm-svn: 157320
* Small fix for the debug output from PBQP (PR12822).Patrik Hägglund2012-05-231-3/+4
| | | | llvm-svn: 157319
* Use zero-based shadow by default on Android.Evgeniy Stepanov2012-05-231-8/+13
| | | | llvm-svn: 157318
* Use zero-based shadow by default on Android.Evgeniy Stepanov2012-05-231-2/+7
| | | | llvm-svn: 157317
* PR1255(case ranges) related changes in Local Transformations.Stepan Dyatkovskiy2012-05-231-10/+14
| | | | llvm-svn: 157315
* asan: fix typo in commentDmitry Vyukov2012-05-231-1/+1
| | | | llvm-svn: 157314
* Tidy up spacing.Craig Topper2012-05-231-2/+2
| | | | llvm-svn: 157313
* small refinement to r157218 to save a tiny amount of table size in the commonChris Lattner2012-05-232-5/+13
| | | | | | case. llvm-svn: 157312
* Correct the starting location for instantiations of field declarations whichRichard Smith2012-05-231-1/+1
| | | | | | | | | | | | | start with a cv-qualifier. DeclaratorDecl::getTypeSpecStartLoc() does not produce the location of the first type-specifier (the cv-qualifier) in this case, because we don't track source locations for cv-qualifiers. No test here: I've not found a way to test this with a lit-style test, and introducing a gtest test for this seems unwarranted. Suggestions welcome! Patch by Daniel Jasper! llvm-svn: 157311
* If the first argument of __builtin_object_size can be folded to a constantRichard Smith2012-05-233-5/+21
| | | | | | | | pointer, but such folding encounters side-effects, ignore the side-effects rather than performing them at runtime: CodeGen generates wrong code for __builtin_object_size in that case. llvm-svn: 157310
* Fix indentation of wrapped line for readability. No functional change.Craig Topper2012-05-231-1/+1
| | | | llvm-svn: 157309
* Clang 3.1 is out: turn the relevant C++11 status boxes green.Richard Smith2012-05-231-13/+13
| | | | llvm-svn: 157308
* Move file to be more representative.Eric Christopher2012-05-231-0/+0
| | | | llvm-svn: 157306
* Check that we have an unknown upper bound range for our flexible array members.Eric Christopher2012-05-231-1/+1
| | | | llvm-svn: 157305
* Emit C++11 enum class information if it exists.Eric Christopher2012-05-232-1/+16
| | | | | | Part of rdar://11496790 llvm-svn: 157304
* Add support for C++11 enum classes in llvm.Eric Christopher2012-05-234-4/+55
| | | | | | Part of rdar://11496790 llvm-svn: 157303
* Add more convenience registers to x86_64 and a simple test scenario:Johnny Chen2012-05-222-10/+28
| | | | | | | self.expect("expr -- $ax == (($ah << 8) | $al)", substrs = ['true']) llvm-svn: 157302
* address some of John Criswell's commentsNuno Lopes2012-05-221-31/+84
| | | | | | teach computeAllocSize about realloc, reallocf, and valloc llvm-svn: 157298
* ARMDisassembler.cpp: Fix utf8 char in comments.NAKAMURA Takumi2012-05-221-3/+3
| | | | llvm-svn: 157292
* Integrated a fix for an ARM disassembler crashSean Callanan2012-05-221-3/+29
| | | | | | (0xd 0xd 0xa0 0xf4, or "vld2hs.8 {d0[], d1[]}, [r0]!") llvm-svn: 157289
* Recognize the MS inheritance attributes and turn them into attributesJohn McCall2012-05-2210-20/+123
| | | | | | | | | on the RecordDecl. Persist the MS portability type attributes and ignore them in Sema rather than the parser. Patch by João Matos! llvm-svn: 157288
* Fix line endings.John McCall2012-05-221-23/+18
| | | | llvm-svn: 157287
* Fix a typo.Johnny Chen2012-05-221-1/+1
| | | | llvm-svn: 157278
* Add a test case to check that eax's content equals the lower half of rax.Johnny Chen2012-05-221-4/+36
| | | | | | Plus fix the test class name as well as wrong directory path. llvm-svn: 157277
* The RegisterInfo descriptors for the convenience registers can specify an ↵Johnny Chen2012-05-221-1/+1
| | | | | | | | | | offset to be added to the offset as derived from the value_regs field, which is useful for future expansion purposes. As of now, we have: calculated_offset_of_eax = offset_of_rax + (offset_of_eax_from_the_descriptor which is 0) llvm-svn: 157275
* Untabify and 80-col.Eric Christopher2012-05-221-17/+17
| | | | llvm-svn: 157274
* Formatting consistency.Eric Christopher2012-05-221-3/+4
| | | | llvm-svn: 157273
* Fix wrong offset of eax and friends pointed out by Greg.Johnny Chen2012-05-221-1/+1
| | | | | | rdar://problem/11487457 llvm-svn: 157272
* Also compute TopoSigs in synthetic register classes.Jakob Stoklund Olesen2012-05-222-3/+8
| | | | | | | CodeGenRegisterClass has two constructors. Both need to compute the TopoSigs BitVector. llvm-svn: 157271
OpenPOWER on IntegriCloud