summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* rdar://problem/11584012Johnny Chen2012-06-0421-77/+137
| | | | | | | | | | | Refactorings of watchpoint creation APIs so that SBTarget::WatchAddress(), SBValue::Watch(), and SBValue::WatchPointee() now take an additional 'SBError &error' parameter (at the end) to contain the reason if there is some failure in the operation. Update 'watchpoint set variable/expression' commands to take advantage of that. Update existing test cases to reflect the API change and add test cases to verify that the SBError mechanism works for SBTarget::WatchAddress() by passing an invalid watch_size. llvm-svn: 157964
* Delete dead code.Jakob Stoklund Olesen2012-06-042-12/+0
| | | | llvm-svn: 157963
* Make suggestions for mismatched enum arguments to printf/scanf.Jordan Rose2012-06-043-0/+23
| | | | llvm-svn: 157962
* Teach printf/scanf about enums with fixed underlying types.Jordan Rose2012-06-044-10/+153
| | | | llvm-svn: 157961
* -i option should apply to "-n" as well as "-F".Jim Ingham2012-06-041-2/+2
| | | | llvm-svn: 157960
* PR13022: cope with parenthesized function types in MS name mangling.Richard Smith2012-06-042-1/+6
| | | | llvm-svn: 157959
* When gvn decides to replace an instruction with another, we have to patch theRafael Espindola2012-06-045-2/+506
| | | | | | | | | | | | replacement to make it at least as generic as the instruction being replaced. This includes: * dropping nsw/nuw flags * getting the least restrictive tbaa and fpmath metadata * merging ranges Fixes PR12979. llvm-svn: 157958
* Switch LiveIntervals member variable to LLVM naming standards.Jakob Stoklund Olesen2012-06-042-98/+98
| | | | | | No functional change. llvm-svn: 157957
* Fixed handling of Objective-C properties to ensureSean Callanan2012-06-042-8/+74
| | | | | | | | | | | | | that automatically generated setters/getters only get added to a class after explicitly declared (or synthesized) getters/setters had the chance to be added. This eliminates conflicts creating errors of the form: error: instance method '...' has incompatible result types in different translation units ('X *' vs. 'id') llvm-svn: 157956
* Add a warning for when an array-to-pointer decay is performed on an arrayRichard Smith2012-06-046-9/+117
| | | | | | | | | | | | | | | temporary or an array subobject of a class temporary, and the resulting value is used to initialize a pointer which outlives the temporary. Such a pointer is always left dangling after the initialization completes and the array's lifetime ends. In order to detect this situation, this change also adds an LValueClassification of LV_ArrayTemporary for temporaries of array type which aren't subobjects of class temporaries. These occur in C++11 T{...} and GNU C++ (T){...} expressions, when T is an array type. Previously we treated the former as a generic prvalue and the latter as a class temporary. llvm-svn: 157955
* [analyzer] Fixup for r157950. Unbreak the bots.Anna Zaks2012-06-041-2/+0
| | | | llvm-svn: 157954
* Document how fixits on errors and warnings must behave.Nico Weber2012-06-041-0/+13
| | | | | | Review and wording tweaks by Richard. llvm-svn: 157953
* Add a testcase for C++11 union support.Eric Christopher2012-06-041-0/+16
| | | | llvm-svn: 157952
* [objcmt] Don't migrate to subscripting syntax if the required methods have notArgyrios Kyrtzidis2012-06-045-11/+239
| | | | | | | | been declared on NSArray/NSDictionary. rdar://11581975 llvm-svn: 157951
* [analyzer] Fix a diagnostics bug which lead to a crash on the buildbot.Anna Zaks2012-06-043-0/+246
| | | | | | | This bug was triggered by r157851. It only happens in the case where we don't perform optimal diagnostic pruning. llvm-svn: 157950
* Patch that fixes log messages in SBValue.cpp from Lau Sennels.Greg Clayton2012-06-041-10/+10
| | | | llvm-svn: 157949
* Give more explicit error messages when watchpoint creation command ↵Johnny Chen2012-06-043-2/+45
| | | | | | | | (watchpoint set) fails, like number of supported hardware watchpoints reached or the watch size is not allowed. llvm-svn: 157948
* Fixes some test cases that should have come along with r157943.Aaron Ballman2012-06-042-35/+32
| | | | llvm-svn: 157947
* objective-c: Handle more warning cases for whenFariborz Jahanian2012-06-042-1/+36
| | | | | | | message receiver is 'weak' property. // rdar://10225276 llvm-svn: 157946
* Fixed a problem related to resolution of built-in headers in case a path of ↵Alexander Kornienko2012-06-042-27/+19
| | | | | | tool's binary contains sym-links. llvm-svn: 157944
* Removing the lambda extension warning concerning single return statements, ↵Aaron Ballman2012-06-043-25/+1
| | | | | | as it no longer applies. llvm-svn: 157943
* Pass context pointers to LiveRangeCalc::reset().Jakob Stoklund Olesen2012-06-043-55/+45
| | | | | | | Remove the same pointers from all the other LiveRangeCalc functions, simplifying the interface. llvm-svn: 157941
* Add a test case for mips64 unaligned load/store instructions.Akira Hatanaka2012-06-041-0/+73
| | | | llvm-svn: 157939
* Rename test/CodeGen/Mips/load-shift-left-right.ll.Akira Hatanaka2012-06-041-0/+0
| | | | llvm-svn: 157938
* Fix a bug in MipsTargetLowering::LowerLOAD. A shift-right-logical node isAkira Hatanaka2012-06-041-1/+2
| | | | | | inserted after the shift-left-logical node. llvm-svn: 157937
* Implement local-exec TLS on PowerPC.Roman Divacky2012-06-049-11/+89
| | | | llvm-svn: 157935
* [diagtool] Properly order libraries in Makefile for buildbot.Jordan Rose2012-06-041-3/+3
| | | | llvm-svn: 157934
* Remove AST and Parse from Driver's dependencies.Jordan Rose2012-06-041-1/+1
| | | | llvm-svn: 157933
* [diagtool] Re-add show-enabled, minimizing the code pulled in from Frontend.Jordan Rose2012-06-047-27/+238
| | | | | | Now correctly builds with both GNU make and CMake. llvm-svn: 157932
* [Sanitizer] Enable lint for sanitizer_common/ Alexey Samsonov2012-06-042-6/+7
| | | | llvm-svn: 157931
* Created files sanitizer_linux.cc and sanitizer_mac.cc for platform-specific ↵Alexey Samsonov2012-06-045-40/+105
| | | | | | implementations of common functions. Turned asan_mmap into __sanitizer::internal_mmap. llvm-svn: 157930
* MIPS TLS: use the model selected by TargetMachine::getTLSModel().Hans Wennborg2012-06-041-3/+4
| | | | | | This was mostly done already in r156162, but I missed one place. llvm-svn: 157929
* Remove file-type tags in .cc files in tsan/ and sanitizer_common/Alexey Samsonov2012-06-0442-42/+42
| | | | llvm-svn: 157928
* Remove file-type tags for .cc files in ASan run-time libraryAlexey Samsonov2012-06-0420-20/+20
| | | | llvm-svn: 157927
* [Sanitizer]: move internal_strcmp to sanitizer_commonAlexey Samsonov2012-06-048-18/+21
| | | | llvm-svn: 157926
* Remove the "-promote-elements" flag. This flag is now enabled by default.Nadav Rotem2012-06-0417-44/+25
| | | | llvm-svn: 157925
* [ASan] Use ASan option symbolize to turn on internal symbolizer (in development)Alexey Samsonov2012-06-042-5/+24
| | | | llvm-svn: 157924
* Require -pie when linking with ASan on Android.Evgeniy Stepanov2012-06-042-0/+4
| | | | llvm-svn: 157923
* [Sanitizer] Move internal_strncpy to sanitizer_libc (and make its behavior ↵Alexey Samsonov2012-06-045-8/+18
| | | | | | conforming to manual) llvm-svn: 157922
* Test the '__thread' before 'static' warning.Hans Wennborg2012-06-042-6/+8
| | | | | | Also fix the '__thread' before 'extern' case. llvm-svn: 157921
* Better comments for TLS-related X86 MachineOperand flags.Hans Wennborg2012-06-041-9/+18
| | | | llvm-svn: 157920
* [Sanitizer_common] fix filenames in commentsAlexey Samsonov2012-06-042-2/+2
| | | | llvm-svn: 157919
* Add intrinsic forms for FMA instructions to opcode folding tables.Craig Topper2012-06-042-109/+141
| | | | llvm-svn: 157917
* getAllOnesValue also works for vectors of integers.Duncan Sands2012-06-041-2/+2
| | | | llvm-svn: 157915
* Add VFMADDSUB and VFMSUBADD FMA instructions to folding tables. Also add 213 ↵Craig Topper2012-06-041-0/+34
| | | | | | forms of scalar FMA instructions. llvm-svn: 157914
* Add fma3 intrinsic header file.Craig Topper2012-06-044-0/+400
| | | | llvm-svn: 157913
* Fix a copy-and-paste duplication error in the PPC 440 and A2 schedules (no ↵Hal Finkel2012-06-042-42/+0
| | | | | | functionality change). llvm-svn: 157912
* Enable generating PPC pre-increment (r+imm) instructions by default.Hal Finkel2012-06-043-8/+6
| | | | | | | It seems that this no longer causes test suite failures on PPC64 (after r157159), and often gives a performance benefit, so it can be enabled by default. llvm-svn: 157911
* When adding built-in operator candidates for overload resolutionDouglas Gregor2012-06-042-26/+129
| | | | | | | | involving 'restrict', place restrict on the pointer type rather than on the pointee type. Also make sure that we gather restrict from the pointer type. Fixes PR12854 and the major part of PR11093. llvm-svn: 157910
* Represent .rept as an anonymous macro. This removes the need for the ActiveReptRafael Espindola2012-06-031-55/+88
| | | | | | | vector. No functionality change. Extracted from a patch by the PaX Team. llvm-svn: 157909
OpenPOWER on IntegriCloud