summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Use Perl prototypes instead of shift.Ted Kremenek2012-05-221-3/+3
| | | | llvm-svn: 157228
* [objcmt] Don't add redundant parentheses when migrating subscripting of an ivar.Argyrios Kyrtzidis2012-05-223-2/+10
| | | | | | rdar://11501256 llvm-svn: 157227
* Fix a bug where if I just run:Johnny Chen2012-05-221-3/+0
| | | | | | | | ./dotest.py No progress bar appears. llvm-svn: 157226
* Also push file & line breakpoints past the prologue. Also added a "-K" ↵Jim Ingham2012-05-229-41/+128
| | | | | | | | | | | argument to the relevant "break set" commands to set this per breakpoint. Also, some CreateBreakpoint API's in the lldb_private namespace had "internal" first and "skip_prologue" second. "internal should always be last. Fixed that. rdar://problem/11484729 llvm-svn: 157225
* FileCheck'ize test, and add a bit to test for r157221.Jim Grosbach2012-05-211-1/+7
| | | | llvm-svn: 157222
* ARM: .end_data_region mismatch in Thumb2.Jim Grosbach2012-05-211-2/+5
| | | | | | | | | | 32-bit offset jump tables just use real branch instructions and so aren't marked as data regions. We were still emitting the .end_data_region marker though, which assert()ed. rdar://11499158 llvm-svn: 157221
* Added support for rvalue references in debug informationSean Callanan2012-05-214-6/+92
| | | | | | | | (actually, mainly just hooked up support that was already there). Added a test case, although it's expected to fail right now unless you're using top-of-tree LLVM. llvm-svn: 157220
* Add basic delta-debugging script used for reducing analyzer crasher test cases.Ted Kremenek2012-05-211-0/+65
| | | | llvm-svn: 157219
* Added address space qualifier to intrinsic PointerType arguments.Pete Cooper2012-05-213-3/+16
| | | | llvm-svn: 157218
* CompileUnit::ResolveSymbolContext was only filling in the LineEntry ↵Jim Ingham2012-05-211-6/+28
| | | | | | regardless of what was passed in for "resolve_scope". I fixed that. llvm-svn: 157217
* objective-c: provide a useful 'fixit' suggestion whenFariborz Jahanian2012-05-213-1/+24
| | | | | | | errornously using commas to separate ObjC message arguments. // rdar://11376372 llvm-svn: 157216
* Fix use of an unitialized value in the LegalizeOps expansion for ISD::SUB. ↵Owen Anderson2012-05-211-1/+1
| | | | | | | | No in-tree targets exercise this path. Patch by Micah Villmow. llvm-svn: 157215
* Updated the object-pointer lookup logic to fixSean Callanan2012-05-211-13/+30
| | | | | | Objective-C "self," which is not a regular pointer. llvm-svn: 157214
* Fixed the new-syntax testcase to reflect how weSean Callanan2012-05-211-1/+1
| | | | | | print string literals. llvm-svn: 157213
* Revert r115805. An array type is required to have a range type,Eric Christopher2012-05-211-18/+14
| | | | | | | | | | however, the range can be unknown for the upper bound. Testcase to follow. Part of rdar://11457152 llvm-svn: 157212
* [analyzer] Bind UnknownVal to InitListExpr for unsupported typesAnna Zaks2012-05-212-2/+9
| | | | | | (ex: float). llvm-svn: 157211
* Fixes for performance to data formatters - Python < 3.0 is much slower when ↵Enrico Granata2012-05-211-114/+110
| | | | | | using True/False as compared to 1/0 for logical values. Wexploit this to our advantage. Other minor tweaks llvm-svn: 157209
* Fixed a nasty bug where JIT expressions didn't workSean Callanan2012-05-213-13/+39
| | | | | | | when stopped in a const method. Also updated our testsuite to ensure that JIT is forced in this case. llvm-svn: 157208
* Function template version of the previous patch.Rafael Espindola2012-05-212-4/+18
| | | | llvm-svn: 157207
* Produce a hidden symbol for zed inRafael Espindola2012-05-212-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | struct HIDDEN foo { }; template <class P> struct bar { }; template <> struct HIDDEN bar<foo> { DEFAULT static void zed(); }; void bar<foo>::zed() { } Before we would produce a hidden symbol in struct HIDDEN foo { }; template <class P> struct bar { }; template <> struct bar<foo> { DEFAULT static void zed(); }; void bar<foo>::zed() { } But adding HIDDEN to the specialization would cause us to produce a default symbol. llvm-svn: 157206
* [driver] When creating the compiler invocation out of command-lineArgyrios Kyrtzidis2012-05-216-16/+28
| | | | | | | | arguments, force use of clang frontend for the driver. Fixes rdar://11356765. llvm-svn: 157205
* Analyzer: Fix PR12905, a crash when encountering a call to a function named "C".Benjamin Kramer2012-05-212-10/+17
| | | | | | While there clean up indentation. llvm-svn: 157204
* Added an "rb" alias that sets breakpoints bySean Callanan2012-05-211-0/+9
| | | | | | regular expression. llvm-svn: 157202
* Thumb2: RSB source register should be rGRP not GPRnopc.Jim Grosbach2012-05-211-4/+4
| | | | | | t2RSB defined the operand correctly, but tRSBS didn't. llvm-svn: 157200
* Integrated a check into Clang that make sure thatSean Callanan2012-05-211-0/+18
| | | | | | | it doesn't try to call LookupDestructor on an incomplete class. llvm-svn: 157199
* [arcmt] Revert r156999 "Remove the "it is not safe to remove an unused ↵Argyrios Kyrtzidis2012-05-212-1/+13
| | | | | | | | | | 'autorelease' message" ARC migration error". Per feedback from John this is useful to have in general. llvm-svn: 157198
* Mark an unreachable region of code with llvm_unreachable.Dan Gohman2012-05-211-1/+1
| | | | llvm-svn: 157197
* tsan: implement malloc/free hooksDmitry Vyukov2012-05-211-15/+82
| | | | llvm-svn: 157196
* Typo.Chad Rosier2012-05-211-1/+1
| | | | llvm-svn: 157195
* Remove unused argument in my last patch.Fariborz Jahanian2012-05-211-3/+2
| | | | llvm-svn: 157194
* objective-c: When default synthesizing readonly IBOutlet propertiesFariborz Jahanian2012-05-212-55/+51
| | | | | | provide a 'fixit' to change 'readonly' to 'readwrite'. // rdar://11448209 llvm-svn: 157193
* Added a GDB equivalent for saving binary memorySean Callanan2012-05-211-1/+5
| | | | | | data. llvm-svn: 157192
* Make it so that the MArch, MCPU, MAttrs passed to EngineBuilder are actually ↵Owen Anderson2012-05-211-4/+0
| | | | | | | | used. Patch by Jose Fonseca. llvm-svn: 157191
* <rdar://problem/11355592> Fixing a bug where we would incorrectly try and ↵Enrico Granata2012-05-219-47/+165
| | | | | | determine a dynamic type for a variable of a pointer type that is not a valid generic type for dynamic pointers. llvm-svn: 157190
* [ASan] Make for-Windows RTL compileable using Clang++Timur Iskhodzhanov2012-05-213-17/+27
| | | | llvm-svn: 157188
* tsan: do not assume non-recursive signal handlersDmitry Vyukov2012-05-211-6/+6
| | | | llvm-svn: 157187
* Test and document a difference from gcc in the handling of visibilityRafael Espindola2012-05-211-0/+13
| | | | | | attributes. llvm-svn: 157186
* test commitPatrik Hägglund2012-05-211-1/+0
| | | | llvm-svn: 157184
* PR1255 (case ranges: work with ConstantRangesSet instead of ConstantInt) ↵Stepan Dyatkovskiy2012-05-213-12/+37
| | | | | | related changes for Execution and Verifier. llvm-svn: 157183
* Unpack enums in CodeCompletetionResult.Benjamin Kramer2012-05-211-3/+3
| | | | | | | In theory they should be wide enough even when the enum type is signed, but it looks like MSVC9 still has problems with it. llvm-svn: 157182
* tsan: replace CHECK with CHECK_EQ for better diagnosticsDmitry Vyukov2012-05-211-1/+1
| | | | llvm-svn: 157181
* tsan: better, more realistic handling of signalsDmitry Vyukov2012-05-213-21/+110
| | | | llvm-svn: 157178
* tsan: add more checks for OOM conditionsDmitry Vyukov2012-05-211-0/+4
| | | | | | tests like to try to malloc((size_t)-1) llvm-svn: 157176
* Allow 256-bit shuffles to still be split even if only half of the shuffle ↵Craig Topper2012-05-212-21/+59
| | | | | | comes from two 128-bit pieces. llvm-svn: 157175
* Give a small negative bias to giant edge bundles.Jakob Stoklund Olesen2012-05-212-1/+12
| | | | | | | | | | | | | | | | This helps compile time when the greedy register allocator splits live ranges in giant functions. Without the bias, we would try to grow regions through the giant edge bundles, usually to find out that the region became too big and expensive. If a live range has many uses in blocks near the giant bundle, the small negative bias doesn't make a big difference, and we still consider regions including the giant edge bundle. Giant edge bundles are usually connected to landing pads or indirect branches. llvm-svn: 157174
* Teach Clang about the NVPTX backend.Peter Collingbourne2012-05-202-0/+100
| | | | llvm-svn: 157173
* Tell the driver that CUDA is a C++-like language, so that we get C++Peter Collingbourne2012-05-201-0/+1
| | | | | | header searches with CUDA. llvm-svn: 157172
* CUDA: the device and host attributes must be inheritable, in orderPeter Collingbourne2012-05-201-2/+2
| | | | | | | to deal with NVIDIA's headers. We'll need to think of another way to handle multiple host/device definitions within the same TU. llvm-svn: 157171
* test/Tooling/clang-check-pwd.cpp: Mark as XFAIL:mingw for now. Fixing is ↵NAKAMURA Takumi2012-05-201-0/+1
| | | | | | work-in-progress. llvm-svn: 157170
* Clear kill flags on the fly when joining intervals.Jakob Stoklund Olesen2012-05-201-36/+22
| | | | | | | | | | | With physreg joining out of the way, it is easy to recognize the instructions that need their kill flags cleared while testing for interference. This allows us to skip the final scan of all instructions for an 11% speedup of the coalescer pass. llvm-svn: 157169
OpenPOWER on IntegriCloud