summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ISB is HasDB, not just HasV7.Jim Grosbach2011-09-061-1/+1
| | | | llvm-svn: 139202
* Refactoring of Get() methods in FormatManager/FormatCategory to have ↵Enrico Granata2011-09-067-90/+120
| | | | | | | | | explicative names and return shared-pointers instead of bools Reduced the amount of memory required to avoid loops in DumpPrintableRepresentation() from 32 bits down to 1 bit - Additionally, disallowed creating summary strings of the form ${var%S} which did nothing but cause endless loops by definition llvm-svn: 139201
* Thumb2 parsing and encoding for ISB.Jim Grosbach2011-09-062-8/+17
| | | | llvm-svn: 139200
* Thumb2 parsing and encoding for EOR.Jim Grosbach2011-09-061-0/+20
| | | | llvm-svn: 139199
* Fill out implementation of Enable/DisableWatchpoint() for ProcessGDBRemote ↵Johnny Chen2011-09-063-6/+48
| | | | | | | | class (Not Tested Yet). Also update the signature of WatchpointLocation::SetEnable() to take a bool as input arg. llvm-svn: 139198
* Remove the doxyment for this now defunct parameter.Chandler Carruth2011-09-061-1/+0
| | | | llvm-svn: 139197
* Don't recompute the presumed loc twice in 5 lines of code... Spotted byChandler Carruth2011-09-061-1/+1
| | | | | | inspection. llvm-svn: 139196
* Use ArrayRef for the fixit hint array rather than a pointer and a size.Chandler Carruth2011-09-062-37/+35
| | | | | | | Clean up loops over the hints to use the more idiomatic iterator form in LLVM and Clang. llvm-svn: 139195
* Thumb2 parsing and encoding for DSB.Jim Grosbach2011-09-061-0/+32
| | | | llvm-svn: 139194
* Thumb2 parsing and encoding for DMB.Jim Grosbach2011-09-062-0/+36
| | | | llvm-svn: 139193
* Disable these tests harder. They're XFAIL'd, but that means they still run, andNick Lewycky2011-09-064-4/+8
| | | | | | these tests all infinitely recurse, bringing my system down into swapping hell. llvm-svn: 139192
* Thumb2 parsing and encoding for DBG.Jim Grosbach2011-09-062-6/+16
| | | | llvm-svn: 139191
* Hoist the construction of the FixItHint line into a member function withChandler Carruth2011-09-061-64/+79
| | | | | | | | | | | | a defined interface. This isn't as nice as the previous one, but should get better as I push through better data types in all these functions. Also, I'm hoping to pull some aspects of this out into a common routine (such as tab expansion). Again, WIP, comments welcome as I'm going through. llvm-svn: 139190
* Thumb2 parsing and encoding for CMN and CMP.Jim Grosbach2011-09-062-21/+84
| | | | llvm-svn: 139188
* Rename variables in SemaExpr.cpp to give a more consistant naming scheme.Richard Trieu2011-09-061-99/+101
| | | | | | | | | | | ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: CheckCompareOperands() llvm-svn: 139187
* This transform only handles two-operand AddRec's. Prevent it from trying toNick Lewycky2011-09-062-14/+43
| | | | | | handle anything more complex. Fixes PR10383 again! llvm-svn: 139186
* When extracting the callee declaration from a call expression, be sureDouglas Gregor2011-09-063-8/+22
| | | | | | | | | | to look through SubstNonTypeTemplateParmExprs. Then, update the IR generation of CallExprs to actually use CallExpr::getCalleeDecl() rather than attempting to mimick its behavior (badly). Fixes <rdar://problem/10063539>. llvm-svn: 139185
* Rename variables in SemaExpr.cpp to give a more consistant naming scheme.Richard Trieu2011-09-061-23/+23
| | | | | | | | | | | | | | ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: checkEnumComparison() diagnoseDistinctPointerComparison() convertPointersToCompositeType() diagnoseFunctionPointerToVoidComparison() llvm-svn: 139184
* Rename variables in SemaExpr.cpp to give a more consistant naming scheme.Richard Trieu2011-09-061-36/+36
| | | | | | | | | | | | ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: DiagnoseBadShiftValues() CheckShiftOperands() llvm-svn: 139183
* Rename variables in SemaExpr.cpp to give a more consistant naming scheme.Richard Trieu2011-09-061-55/+57
| | | | | | | | | | | | | | | ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: diagnoseArithmeticOnTwoVoidPointers() checkArithmeticBinOpPointerOperands() diagnosePointerIncompatibility() CheckAdditionOperands() CheckSubtractionOperands() llvm-svn: 139182
* Rename variables in SemaExpr.cpp to give a more consistant naming scheme.Richard Trieu2011-09-061-64/+64
| | | | | | | | | | | | | ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: CheckVectorOperands() CheckMultiplyDivideOperands() CheckRemainderOperands() llvm-svn: 139181
* Place 'equality comparison with extraneous parentheses...' into a subgroup ↵Ted Kremenek2011-09-063-2/+10
| | | | | | of -Wparentheses called -Wparentheses-equality. llvm-svn: 139180
* Add mayLoad/mayStore markings to ARM 64-bit atomic pseudo-instructions.Eli Friedman2011-09-061-1/+1
| | | | llvm-svn: 139179
* Implement the Named Return Value Optimization (NRVO) for blocks.Douglas Gregor2011-09-064-4/+18
| | | | llvm-svn: 139178
* Thumb2 parsing and encoding for CLZ.Jim Grosbach2011-09-061-0/+12
| | | | llvm-svn: 139177
* Rename variables in SemaExpr.cpp to give a more consistant naming scheme.Richard Trieu2011-09-061-36/+36
| | | | | | | | | | | | | ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: CheckTransparentUnionArgumentConstraints() CheckSingleAssignmentConstraints() InvalidOperands() llvm-svn: 139176
* Implement the Named Return Value Optimization (NRVO) for Objective-C++Douglas Gregor2011-09-062-0/+24
| | | | | | methods. Fixes PR10835 / <rdar://problem/10050178>. llvm-svn: 139175
* Test should print to stdout only if self.TraceOn() is True.Johnny Chen2011-09-061-10/+20
| | | | llvm-svn: 139174
* Rename variables in SemaExpr.cpp to give a more consistant naming scheme.Richard Trieu2011-09-061-57/+57
| | | | | | | | | | | ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: CheckAssignmentConstraints() llvm-svn: 139173
* Thumb2 parsing and encoding for CLREX.Jim Grosbach2011-09-063-5/+15
| | | | llvm-svn: 139172
* Port more encoding tests over to Thumb2 decoding tests.Owen Anderson2011-09-061-0/+222
| | | | llvm-svn: 139171
* Rename variables in SemaExpr.cpp to give a more consistant naming scheme.Richard Trieu2011-09-061-32/+30
| | | | | | | | | | | | | | ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: checkPointerTypesForAssignment() checkBlockPointerTypesForAssignment() checkObjCPointerTypesForAssignment() CheckAssignmentConstraints() llvm-svn: 139170
* Add -verify-indvars for imperfect SCEV trip count verification after indvars.Andrew Trick2011-09-061-1/+9
| | | | llvm-svn: 139169
* Thumb2 parsing and encoding for CDP/CDP2.Jim Grosbach2011-09-061-0/+10
| | | | llvm-svn: 139168
* Rename variables in SemaExpr.cpp to give a more consistant naming scheme.Richard Trieu2011-09-061-20/+21
| | | | | | | | | | | | | | ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: DiagnoseConditionalForNull() CheckConditionalOperands() IsArithmeticBinaryExpr() DiagnoseConditionalPrecedence() llvm-svn: 139167
* Add a data type WatchpointLocationList to the repository. A Target contains ↵Johnny Chen2011-09-067-0/+392
| | | | | | | | an instance of watchpoint location list. Also add a typefed for WatchpointLocationSP to lldb-forward-rtti.h. llvm-svn: 139166
* Spelling.Benjamin Kramer2011-09-061-7/+7
| | | | llvm-svn: 139165
* Rename variables in SemaExpr.cpp to give a more consistant naming scheme.Richard Trieu2011-09-061-56/+55
| | | | | | | | | | | | ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: handleIntegerConversion() UsualArithmeticConversions() llvm-svn: 139164
* DNBBreakpoint::SetEnabled() should take a bool, not a uint32_t, as its input ↵Johnny Chen2011-09-063-7/+9
| | | | | | | | | argument. Plus for watchpoint related functions, add new macros INVALID_NUB_WATCH_ID and NUB_WATCH_ID_IS_VALID and use them, instead. llvm-svn: 139163
* Don't emit -Wpadded warnings without a valid SourceLocation. This can ↵Ted Kremenek2011-09-061-0/+5
| | | | | | happen when RecordLayoutBuilder is used by Codegen, not Sema. llvm-svn: 139162
* Fix comment. Noticed by Duncan.Rafael Espindola2011-09-061-1/+1
| | | | llvm-svn: 139161
* Redesign of the interaction between Python and frozen objects:Enrico Granata2011-09-0669-698/+3326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - introduced two new classes ValueObjectConstResultChild and ValueObjectConstResultImpl: the first one is a ValueObjectChild obtained from a ValueObjectConstResult, the second is a common implementation backend for VOCR and VOCRCh of method calls meant to read through pointers stored in frozen objects ; now such reads transparently move from host to target as required - as a consequence of the above, removed code that made target-memory copies of expression results in several places throughout LLDB, and also removed code that enabled to recognize an expression result VO as such - introduced a new GetPointeeData() method in ValueObject that lets you read a given amount of objects of type T from a VO representing a T* or T[], and doing dereferences transparently in private layer it returns a DataExtractor ; in public layer it returns an instance of a newly created lldb::SBData - as GetPointeeData() does the right thing for both frozen and non-frozen ValueObject's, reimplemented ReadPointedString() to use it en lieu of doing the raw read itself - introduced a new GetData() method in ValueObject that lets you get a copy of the data that backs the ValueObject (for pointers, this returns the address without any previous dereferencing steps ; for arrays it actually reads the whole chunk of memory) in public layer this returns an SBData, just like GetPointeeData() - introduced a new CreateValueFromData() method in SBValue that lets you create a new SBValue from a chunk of data wrapped in an SBData the limitation to remember for this kind of SBValue is that they have no address: extracting the address-of for these objects (with any of GetAddress(), GetLoadAddress() and AddressOf()) will return invalid values - added several tests to check that "p"-ing objects (STL classes, char* and char[]) will do the right thing Solved a bug where global pointers to global variables were not dereferenced correctly for display New target setting "max-string-summary-length" gives the maximum number of characters to show in a string when summarizing it, instead of the hardcoded 128 Solved a bug where the summary for char[] and char* would not be shown if the ValueObject's were dumped via the "p" command Removed m_pointers_point_to_load_addrs from ValueObject. Introduced a new m_address_type_of_children, which each ValueObject can set to tell the address type of any pointers and/or references it creates. In the current codebase, this is load address most of the time (the only notable exception being file addresses that generate file address children UNLESS we have a live process) Updated help text for summary-string Fixed an issue in STL formatters where std::stlcontainer::iterator would match the container's synthetic children providers Edited the syntax and help for some commands to have proper argument types llvm-svn: 139160
* Add codegen support for vector select (in the IR this means a selectDuncan Sands2011-09-0636-138/+252
| | | | | | | | | | | | with a vector condition); such selects become VSELECT codegen nodes. This patch also removes VSETCC codegen nodes, unifying them with SETCC nodes (codegen was actually often using SETCC for vector SETCC already). This ensures that various DAG combiner optimizations kick in for vector comparisons. Passes dragonegg bootstrap with no testsuite regressions (nightly testsuite as well as "make check-all"). Patch mostly by Nadav Rotem. llvm-svn: 139159
* Rearrange code so that we pass the right pointer to delete[] when an ↵Eli Friedman2011-09-062-9/+27
| | | | | | exception is thrown constructing the array elements in an array new expression. Fixes PR10870. llvm-svn: 139158
* Fix fall outs from my recent change on how carry bit is modeled during isel.Evan Cheng2011-09-064-33/+46
| | | | | | | | Now the 'S' instructions, e.g. ADDS, treat S bit as optional operand as well. Also fix isel hook to correctly set the optional operand. rdar://10073745 llvm-svn: 139157
* Use IRBuilder.Devang Patel2011-09-061-17/+14
| | | | llvm-svn: 139156
* ARM .code directive should always go to the streamer.Jim Grosbach2011-09-061-6/+4
| | | | | | | | | | Even if there's no mode switch performed, the .code directive should still be sent to the output streamer. Otherwise, for example, an output asm stream is not equivalent to the input stream which generated it (a dependency on the input target triple arm vs. thumb is introduced which was not originally there). llvm-svn: 139155
* Fix style issues and typos found by Duncan.Rafael Espindola2011-09-061-3/+3
| | | | llvm-svn: 139154
* Rename variables in SemaExpr.cpp to give a more consistant naming scheme.Richard Trieu2011-09-061-35/+32
| | | | | | | | | | | | ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: handleFloatConversion() handleComplexIntConvsersion() llvm-svn: 139153
* As a first step, emit both the compact unwind and CIE/FDEs for a function.Bill Wendling2011-09-061-13/+7
| | | | llvm-svn: 139152
OpenPOWER on IntegriCloud