summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix Bug 12924Seth Cantrell2012-05-241-0/+16
| | | | | | | | | | | | | http://llvm.org/bugs/show_bug.cgi?id=12924 This issue was that the source location was pointing to a non-printable character and so CaretEnd was pointing one _column_ past the caret but not one _character_ past the caret. So the conversion between column and byte locations wasn't working (because the conversion is only valid from the first column or byte of a character). llvm-svn: 157372
* Reflect that tblgen is now llvm-tblgenJoel Jones2012-05-241-6/+7
| | | | llvm-svn: 157371
* DR1152 / PR12931 / PR6177: A candidate function which requires binding a constRichard Smith2012-05-242-9/+15
| | | | | | | | volatile reference to a temporary is not viable. My interpretation is that DR1152 was a bugfix, not a rule change for C++11, so this is not conditional on the language mode. This matches g++'s behavior. llvm-svn: 157370
* Mark a couple arrays as static and const. Use array_lengthof instead of ↵Craig Topper2012-05-242-6/+6
| | | | | | sizeof/sizeof. llvm-svn: 157369
* Mark a static array as const.Craig Topper2012-05-241-1/+1
| | | | llvm-svn: 157368
* Mark a static table as const. Shrink opcode size in static tables to ↵Craig Topper2012-05-241-14/+9
| | | | | | uint16_t. Simplify loop iterating over one of those tables. No functional change intended. llvm-svn: 157367
* Change the "Debug" build to use the current MacOSX SDK. Fix the swig ↵Jim Ingham2012-05-242-5/+13
| | | | | | | | builder to have an explicit short-circuit of the Python SWIG building, rather than relying on the SDKROOT being set. llvm-svn: 157363
* Add a warning to diagnose statements in C++ like "*(volatile int*)x;". ↵Eli Friedman2012-05-249-77/+124
| | | | | | Conceptually, this is part of -Wunused-value, but I added a separate flag -Wunused-volatile-lvalue so it doesn't get turned off by accident with -Wno-unused-value. I also made a few minor improvements to existing unused value warnings in the process. <rdar://problem/11516811>. llvm-svn: 157362
* rdar://problem/11457634Johnny Chen2012-05-243-6/+34
| | | | | | | Supports the use-case scenario of immediately continuing the process once attached. Add a simple completion test case from "process attach --con" to "process attach --continue ". llvm-svn: 157361
* implement Sema support for the alloc_size attributeNuno Lopes2012-05-244-0/+105
| | | | | | | | Portions of this patch by Xi Wang. Reviewed by Jordy Rose. Thank you both. Codegen support will follow soon. llvm-svn: 157360
* modern objc translation: Add translation of @autoreleasepoolFariborz Jahanian2012-05-232-0/+57
| | | | | | statement. // rdar://11474836. llvm-svn: 157359
* Tidy up naming for consistency and other cleanup. No functional change ↵Chad Rosier2012-05-231-10/+9
| | | | | | intended. llvm-svn: 157358
* Add a test case for global live range splitting.Jakob Stoklund Olesen2012-05-231-0/+27
| | | | llvm-svn: 157357
* [libclang] Report CXType_ObjCId for 'const id', not CXType_Typedef.Argyrios Kyrtzidis2012-05-232-6/+7
| | | | | | rdar://11357807 llvm-svn: 157356
* Add a last resort tryInstructionSplit() to RAGreedy.Jakob Stoklund Olesen2012-05-232-1/+87
| | | | | | | | | | | | | Live ranges with a constrained register class may benefit from splitting around individual uses. It allows the remaining live range to use a larger register class where it may allocate. This is like spilling to a different register class. This is only attempted on constrained register classes. <rdar://problem/11438902> llvm-svn: 157354
* Add SBProcess::GetNumSupportedHardwareWatchpoints() API and export it ↵Johnny Chen2012-05-235-0/+55
| | | | | | | | through the Python scripting bridge. Add/modify some test cases. llvm-svn: 157353
* clang/test/Tooling: Update comments in left 2 tests on XFAIL. They are ↵NAKAMURA Takumi2012-05-232-2/+2
| | | | | | incompatible to -fms-compatibility. llvm-svn: 157352
* 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
OpenPOWER on IntegriCloud