summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [analyzer] Fix RUN lines for old XFAIL tests, one of which actually works.Jordy Rose2012-05-162-3/+2
| | | | llvm-svn: 156921
* [analyzer] Convert many existing tests to use clang_analyzer_eval.Jordy Rose2012-05-1611-968/+472
| | | | llvm-svn: 156920
* [analyzer] Introduce clang_analyzer_eval for regression test constraint checks.Jordy Rose2012-05-164-1/+102
| | | | | | | | | | The new debug.ExprInspection checker looks for calls to clang_analyzer_eval, and emits a warning of TRUE, FALSE, or UNKNOWN (or UNDEFINED) based on the constrained value of its (boolean) argument. It does not modify the analysis state though the conditions tested can result in branches (e.g. through the use of short-circuit operators). llvm-svn: 156919
* Cleanup after functionalities/alias/TestAliases.pyFilipe Cabecinhas2012-05-161-0/+17
| | | | | | | | | | | This test is run after TestAbbreviations and was making runCmd("h") fail in that test, on the second tested architecture (two commands would be avilable for "h": "help" and "hello"). Later I'm sending a patch for review to add some information to the error message for that case. llvm-svn: 156918
* Hexagon: Remove unused command line option.Benjamin Kramer2012-05-161-2/+0
| | | | llvm-svn: 156917
* StringSwitchify. No functionality change.Benjamin Kramer2012-05-161-20/+13
| | | | llvm-svn: 156916
* I noticed that named metadata doesn't provide a direct way of getting at theDuncan Sands2012-05-161-0/+7
| | | | | | | named metadata list, unlike all the other global objects (global variables, functions, aliases), so add that for consistency. llvm-svn: 156915
* Factor sema for attributes unavailable and deprecated into a common function.Benjamin Kramer2012-05-161-28/+13
| | | | | | No functionality change. llvm-svn: 156914
* Teach the 'opt' tool about '-Os' and '-Oz', corresponding to the ClangChandler Carruth2012-05-162-12/+49
| | | | | | | | | | | | | options, to enable easier testing of the innards of LLVM that are enabled by such optimization strategies. Note that this doesn't provide the (much needed) function attribute support for -Oz (as opposed to -Os), but still seems like a positive step to better test the logic that Clang currently relies on. Patch by Patrik Hägglund. llvm-svn: 156913
* [tsan] fix typoKostya Serebryany2012-05-161-2/+2
| | | | llvm-svn: 156912
* Clarify how libstdc++ and other bits of the system toolchain are foundChandler Carruth2012-05-161-9/+6
| | | | | | | | on Linux in the getting started documentation. Patch by Nathan Ridge. llvm-svn: 156911
* [tsan] first version of ThreadSanitizer docsKostya Serebryany2012-05-161-0/+125
| | | | llvm-svn: 156910
* Fix a thinko in DisintegrateMERGE_VALUES. Patch by Xiaoyi Guo.Duncan Sands2012-05-162-2/+2
| | | | llvm-svn: 156909
* [tsan] add tiny_test.cKostya Serebryany2012-05-161-0/+14
| | | | llvm-svn: 156908
* [tsan] fix old-style makefile -- we still need them to run our testsKostya Serebryany2012-05-161-2/+2
| | | | llvm-svn: 156907
* [tsan] add ThreadSanitizer linker flags on Linux and also copy the tsan-rt ↵Kostya Serebryany2012-05-162-1/+23
| | | | | | into the appropriate place at build time llvm-svn: 156906
* Significantly reduce the compiled size of Functions.cpp by turning a big ↵Chris Lattner2012-05-162-123/+351
| | | | | | | | | | blob of tblgen generated code (for Intrinsic::getType) into a table. This handles common cases right now, but I plan to extend it to handle all cases and merge in type verification logic as well in follow-on patches. llvm-svn: 156905
* Produce more useful 'duplicate case' diagnostics. Fixes PR9243, from Terry Long!Douglas Gregor2012-05-163-3/+55
| | | | llvm-svn: 156904
* have tblgen emit cast<> instead of dyn_cast<> when we know it must succeed.Chris Lattner2012-05-161-2/+2
| | | | llvm-svn: 156902
* Include the correct conversion context locations for condition expressions.David Blaikie2012-05-164-7/+22
| | | | | | | | | | | | | This improves the conversion diagnostics (by correctly pointing to the loop construct for conversions that may've been caused by the contextual conversion to bool caused by a condition expression) and also causes the NULL conversion warnings to be correctly suppressed when crossing a macro boundary in such a context. (previously, since the conversion context location was incorrect, the suppression could not be performed) Reported by Nico Weber as feedback to r156826. llvm-svn: 156901
* Make sure that our thread list can't get out of date like was happening ↵Greg Clayton2012-05-161-0/+6
| | | | | | before Jims fix in revision 156894. llvm-svn: 156898
* Fix the visibility of instantiations of static data members.Rafael Espindola2012-05-162-2/+24
| | | | | | Fixes pr12835. llvm-svn: 156897
* Avoid creating a cycle when folding load / op with flag / store. PR11451474. ↵Evan Cheng2012-05-162-0/+60
| | | | | | rdar://11451474 llvm-svn: 156896
* Always call RefreshStateAfterStop when we get a stop event. We were ↵Jim Ingham2012-05-161-1/+2
| | | | | | skipping doing it in the case where we had interrupted the target. Presumably at some point in the past RefreshStateAfterStop was done more directly when we handled the interrupt, but it isn't any more so now we need to do it all the time. llvm-svn: 156894
* Add an accessor on SBBreakpointLocation to get its location ID.Jim Ingham2012-05-162-0/+15
| | | | llvm-svn: 156891
* [libclang/AST] Index references of protocols in "@protocol(...)" syntax.Argyrios Kyrtzidis2012-05-167-6/+21
| | | | | | | | | To do that, keep track of the location of the protocol id in the ObjCProtocolExpr AST node. rdar://11190837 llvm-svn: 156890
* Bump debugserver version # to 187.Jason Molenda2012-05-161-6/+6
| | | | llvm-svn: 156888
* Bump version # to lldb-147.Jason Molenda2012-05-164-21/+21
| | | | llvm-svn: 156887
* Add LLDB_DISABLE_PYTHON around newly added methods inJason Molenda2012-05-165-0/+30
| | | | | | | | DataVisualization.h / DataVisualization.cpp / ValueObject.cpp and FormatManager.h / FormatManager.cpp llvm-svn: 156886
* Set the result status correctly for asynchronous step-in/out/over commands.Jim Ingham2012-05-161-0/+4
| | | | llvm-svn: 156885
* Fix comment typeo.Jason Molenda2012-05-161-1/+1
| | | | llvm-svn: 156884
* Change lockdown API use in RNBSocket::ConnectToService.Jason Molenda2012-05-161-3/+3
| | | | | | <rdar://problem/10800927> llvm-svn: 156883
* Fix Makefile to pass the correct -arch flag to the toolchains.Johnny Chen2012-05-161-1/+4
| | | | llvm-svn: 156882
* Fixed grammar for the llvm.trap intrinsic description.John Criswell2012-05-161-2/+2
| | | | llvm-svn: 156881
* [objcmt] Accept char arrays for rewriting to @() syntax.Argyrios Kyrtzidis2012-05-163-2/+10
| | | | | | Part of rdar://11438360 llvm-svn: 156880
* <rdar://problem/11246147>Greg Clayton2012-05-162-8/+8
| | | | | | Make sure our debugger STDIN read thread shuts down quickly when we are done with it. We had a case where the owner of the file handle was not closing it and caused spins. llvm-svn: 156879
* Enable sub-sub-register copy coalescing.Jakob Stoklund Olesen2012-05-152-9/+68
| | | | | | | | | | | | | | | | It is now possible to coalesce weird skewed sub-register copies by picking a super-register class larger than both original registers. The included test case produces code like this: vld2.32 {d16, d17, d18, d19}, [r0]! vst2.32 {d18, d19, d20, d21}, [r0] We still perform interference checking as if it were a normal full copy join, so this is still quite conservative. In particular, the f1 and f2 functions in the included test case still have remaining copies because of false interference. llvm-svn: 156878
* Include llvm/ADT/STLExtras.h from lldb/Utility/Utils.h and use ↵Johnny Chen2012-05-159-14/+16
| | | | | | llvm::array_lengthof(), instead. llvm-svn: 156876
* [analyzer] Add a test for dead stores, which uses OpaqueValExpr.Anna Zaks2012-05-151-0/+20
| | | | llvm-svn: 156875
* [objcmt] When using NSNumber numberWithInteger:/numberWithUnsignedInteger: beArgyrios Kyrtzidis2012-05-151-1/+9
| | | | | | | | more liberal in rewriting when the parameter is an enum constant. Part of rdar://11438360 llvm-svn: 156873
* objective-c: perform strict type checking on propertyFariborz Jahanian2012-05-154-19/+55
| | | | | | | | type and its accessor type and issue error if types are incompatible, instead of crashing in IRgen. // rdar://1105153 llvm-svn: 156871
* [analyzer] Fix a regression in ObjCUnusedIVars checker.Anna Zaks2012-05-152-0/+30
| | | | | | | We can no longer rely on children iterator to visit all the AST tree children of an expression (OpaqueValueExpr has no children). llvm-svn: 156870
* Teach RegisterCoalescer to handle symmetric sub-register copies.Jakob Stoklund Olesen2012-05-151-14/+28
| | | | | | | | | | | | | It is possible to coalesce two overlapping registers to a common super-register that it larger than both of the original registers. The important difference is that it may be necessary to rewrite DstReg operands as well as SrcReg operands because the sub-register index has changed. This behavior is still disabled by CoalescerPair. llvm-svn: 156869
* [objcmt] Rewrite messages to NSString's stringWithUTF8String:/stringWithCString:Argyrios Kyrtzidis2012-05-155-3/+200
| | | | | | | | | | | to use the @() boxing syntax. It will also rewrite uses of stringWithCString:encoding: where the encoding that is used is NSASCIIStringEncoding or NSUTF8StringEncoding. rdar://11438360 llvm-svn: 156868
* Handle NewReg==OldReg in renameRegister().Jakob Stoklund Olesen2012-05-151-1/+2
| | | | | | | This can happen when widening a virtual register to a super-register class. llvm-svn: 156867
* We never call adjustCopiesBackFrom() for partial copies.Jakob Stoklund Olesen2012-05-151-1/+3
| | | | | | There is no need to look at an always null SrcIdx. llvm-svn: 156866
* llvm-config: Use sys::fs::equivalent instead of string comparison.Daniel Dunbar2012-05-151-5/+6
| | | | | | - Hopefully fixes PR11600 (untested). llvm-svn: 156865
* [Support] Add a version of sys::fs::equivalent() that treats errors as false.Daniel Dunbar2012-05-151-0/+7
| | | | llvm-svn: 156864
* Don't warn when NULL is used within a macro but its conversion is outside a ↵David Blaikie2012-05-153-14/+16
| | | | | | | | | | | | | | | | | | macro. This fixes the included test case & was reported by Nico Weber. It's a little bit nasty using the difference in the conversion context, but seems to me like a not unreasonable solution. I did have to fix up the conversion context for conditional operators (it seems correct to me to include the context for which we're actually doing the comparison - across all the nested conditionals, rather than the innermost conditional which might not actually have the problematic implicit conversion at all) and template default arguments (this is a bit of a hack, since we don't have the source location of the '=' anymore, so I just used the start of the parameter - open to suggestions there) llvm-svn: 156861
* Typo.Richard Smith2012-05-151-1/+1
| | | | llvm-svn: 156860
OpenPOWER on IntegriCloud