summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Extend Clang's TableGen emitter for attributes to support bool arguments.Douglas Gregor2011-03-261-0/+2
| | | | llvm-svn: 128330
* Extend the new 'availability' attribute with support for anDouglas Gregor2011-03-2610-11/+92
| | | | | | | 'unavailable' argument, which specifies that the declaration to which the attribute appertains is unavailable on that platform. llvm-svn: 128329
* Allow GC qualifiers to be added/removed by conversions from/to void*John McCall2011-03-263-0/+22
| | | | | | without a warning. llvm-svn: 128328
* Collect and coalesce DBG_VALUE instructions before emitting the function.Jakob Stoklund Olesen2011-03-264-111/+192
| | | | | | | | | | | Correctly terminate the range of register DBG_VALUEs when the register is clobbered or when the basic block ends. The code is now ready to deal with variables that are sometimes in a register and sometimes on the stack. We just need to teach emitDebugLoc to say 'stack slot'. llvm-svn: 128327
* Don't warn about the 'extern' in 'extern "C"' on a tag decl. This isJohn McCall2011-03-262-2/+10
| | | | | | usually useless, but not always. llvm-svn: 128326
* Fix the recovery from missing semis on @property declarations to not consumeJohn McCall2011-03-262-2/+6
| | | | | | | | the following '@'. Conceivably, we could skip tokens until something that can validly start an @interface declaration here, but it's not clear that it matters. llvm-svn: 128325
* Properly move attributes to the decl spec when applying them there.John McCall2011-03-262-4/+31
| | | | llvm-svn: 128324
* Convert the OffsetInLayoutClass parameter ofKen Dyck2011-03-261-8/+8
| | | | | | | FinalOverriders::ComputeBaseOffsets() to CharUnits. No change in functionality intended. llvm-svn: 128323
* Fixed the t2PLD and friends disassembly and add two test cases.Johnny Chen2011-03-263-10/+45
| | | | llvm-svn: 128322
* Convert FinalOverriders::Offset to CharUnits. No change in functionalityKen Dyck2011-03-261-8/+8
| | | | | | intended. llvm-svn: 128321
* Fix the bfi handling for or (and a mask) (and b mask). We need the twoEric Christopher2011-03-262-9/+21
| | | | | | | | | | | | | | masks to match inversely for the code as is to work. For the example given we actually want: bfi r0, r2, #1, #1 not #0, however, given the way the pattern is written it's not possible at the moment. Fixes rdar://9177502 llvm-svn: 128320
* PR9561: A store with a negative offset (via GEP) could erroniously say that itBill Wendling2011-03-262-0/+24
| | | | | | | completely overlaps a previous store, thus mistakenly deleting that store. Check for this condition. llvm-svn: 128319
* Convert offset in MethodBaseOffsetPairTy to CharUnits. No change inKen Dyck2011-03-261-9/+8
| | | | | | functionality intended. llvm-svn: 128318
* Convert the offsets in SubobjectOffsetMapTy to CharUnits. No change inKen Dyck2011-03-261-8/+8
| | | | | | functionality intended. llvm-svn: 128317
* Updated LLDB to use a recent LLVM/Clang, pullingSean Callanan2011-03-262-2/+2
| | | | | | in stability fixes for the ARM and Thumb disassemblers. llvm-svn: 128316
* Convert several local variables to CharUnits. No change in functionalityKen Dyck2011-03-261-45/+39
| | | | | | intended. llvm-svn: 128315
* linux: minor updates to account for recent namespace changesStephen Wilson2011-03-264-8/+10
| | | | llvm-svn: 128313
* Add PlatformGDBServer and ProcessGDBRemote to the build system.Stephen Wilson2011-03-264-5/+19
| | | | llvm-svn: 128312
* Add a missing include required on LinuxStephen Wilson2011-03-261-0/+2
| | | | llvm-svn: 128311
* Tweak grammar in checker description.Ted Kremenek2011-03-261-1/+1
| | | | llvm-svn: 128310
* Remove the files for r128308 as it is causing a buildbot failure.Kevin Enderby2011-03-263-365/+0
| | | | llvm-svn: 128309
* Adding a C API to the disassembler for use by such tools as Darwin's otool(1).Kevin Enderby2011-03-263-0/+365
| | | | | | | | | | This is a work in progress as the interface for producing symbolic operands is not done. But a hacked prototype using information from the object file's relocation entiries and replacing immediate operands with MCExpr's has been shown to work with no changes to the instrucion printer. These APIs will be moved into a dynamic library at some point. llvm-svn: 128308
* TraverseNestedNameSpecifier -> TraverseNestedNameSpecifierLoc in a fewCraig Silverstein2011-03-251-4/+4
| | | | | | places where we can, now. OK-ed by dgregor. llvm-svn: 128307
* Add test for A8.6.246 UMULL to both arm-tests.txt amd thumb-tests.txt.Johnny Chen2011-03-252-0/+6
| | | | llvm-svn: 128306
* Add two test cases t2SMLABT and t2SMMULR for DisassembleThumb2Mul().Johnny Chen2011-03-251-0/+6
| | | | llvm-svn: 128305
* Fix DisassembleThumb2DPReg()'s handling of RegClass. Cannot hardcode ↵Johnny Chen2011-03-252-6/+15
| | | | | | | | | | GPRRegClassID. Also add some test cases. rdar://problem/9189829 llvm-svn: 128304
* Provide blockDecl's startLoc to startFunction. This fixes hidden bug exposed ↵Devang Patel2011-03-251-1/+1
| | | | | | by recent code gen changes. This is tested by global-blocks-lines.exp in gdb testsuite. llvm-svn: 128303
* Revert the scheme.Jim Ingham2011-03-251-4/+1
| | | | llvm-svn: 128302
* Obj-C/NeXT: Update and reapply 108847, now that changes are more baked.Daniel Dunbar2011-03-253-10/+20
| | | | llvm-svn: 128300
* DisassembleThumb2LdSt() did not handle t2LDRs correctly with respect to ↵Johnny Chen2011-03-252-2/+9
| | | | | | | | RegClass. Add two test cases. rdar://problem/9182892 llvm-svn: 128299
* clang/Darwin: Add all the comparison functions, the desire to cherry pick justDaniel Dunbar2011-03-251-5/+2
| | | | | | the ones we want isn't worth the effort. llvm-svn: 128298
* Silly mistake in integer constant folding cleanup.Eli Friedman2011-03-251-1/+1
| | | | llvm-svn: 128297
* Revert "Split single & double comparison routines into separate implementationDaniel Dunbar2011-03-2516-333/+121
| | | | | | files," for now, I missed some necesary updates. llvm-svn: 128296
* A8.6.226 TBB, TBH:Johnny Chen2011-03-251-0/+6
| | | | | | Add two test cases. llvm-svn: 128295
* Modify DisassembleThumb2LdStEx() to be more robust/correct in light of ↵Johnny Chen2011-03-252-6/+12
| | | | | | | | recent change to t2LDREX/t2STREX instructions. Add two test cases. llvm-svn: 128293
* Driver/Darwin: Dsymutil actions should put the dSYM adjacent to the output file.Daniel Dunbar2011-03-252-1/+14
| | | | llvm-svn: 128292
* Simple fixes for the gdb remote process plugin on Linux.Stephen Wilson2011-03-252-1/+4
| | | | llvm-svn: 128291
* Cleaned up the Disassembler code a bit more. You can now request a disassemblerGreg Clayton2011-03-2517-137/+237
| | | | | | | | | | | | | plugin by name on the command line for when there is more than one disassembler plugin. Taught the Opcode class to dump itself so that "disassembler -b" will dump the bytes correctly for each opcode type. Modified all places that were passing the opcode bytes buffer in so that the bytes could be displayed to just pass in a bool that indicates if we should dump the opcode bytes since the opcode now lives inside llvm_private::Instruction. llvm-svn: 128290
* MC: Improve some diagnostics on uses of '.' pseudo-symbol.Daniel Dunbar2011-03-252-1/+30
| | | | llvm-svn: 128289
* Tidyness.Daniel Dunbar2011-03-251-2/+2
| | | | llvm-svn: 128288
* Refactor CGObjCMac to use the shared code for EH stuff.David Chisnall2011-03-251-154/+7
| | | | | | Sanity checked by John McCall. llvm-svn: 128287
* Add a note.Benjamin Kramer2011-03-251-0/+19
| | | | llvm-svn: 128286
* Instruction formats of SWP/SWPB were changed from LdStExFrm to MiscFrm. ↵Johnny Chen2011-03-252-0/+8
| | | | | | | | Modify the disassembler to handle that. rdar://problem/9184053 llvm-svn: 128285
* Emit less labels for debug info and stop emitting .loc directives for ↵Jakob Stoklund Olesen2011-03-255-65/+52
| | | | | | | | | | | | DBG_VALUEs. The .dot directives don't need labels, that is a leftover from when we created line number info manually. Instructions following a DBG_VALUE can share its label since the DBG_VALUE doesn't produce any code. llvm-svn: 128284
* Also need to handle invalid imod values for CPS2p.Johnny Chen2011-03-252-4/+15
| | | | | | rdar://problem/9186136 llvm-svn: 128283
* Split single & double comparison routines into separate implementation files,Daniel Dunbar2011-03-2516-121/+333
| | | | | | for consistency. llvm-svn: 128282
* we can now claim to fully support the override control feature in C++0x.Anders Carlsson2011-03-253-0/+15
| | | | llvm-svn: 128281
* Fixup comments.Anders Carlsson2011-03-252-5/+4
| | | | llvm-svn: 128280
* Remove the last of ClassVirtSpecifiers.Anders Carlsson2011-03-254-110/+15
| | | | llvm-svn: 128279
* Replace the call to ParseOptionalCXX0XClassVirtSpecifierSeq with code to ↵Anders Carlsson2011-03-252-9/+18
| | | | | | only parse an optional 'final' keyword. llvm-svn: 128278
OpenPOWER on IntegriCloud