summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't emit the symbol table entry for the .symtab_shndx section either.Nick Lewycky2011-10-071-1/+2
| | | | llvm-svn: 141440
* Remove extraneous curlies. No functionality change.Nick Lewycky2011-10-071-2/+1
| | | | llvm-svn: 141439
* ARM prefix asmparser operand kind enums for readability.Jim Grosbach2011-10-071-172/+172
| | | | llvm-svn: 141438
* Updated LLVM/Clang to pull in the latest ARM disassembler.Sean Callanan2011-10-0710-62/+76
| | | | | | | | This involved minor changes to the way we report Objective-C methods, as well as cosmetic changes and added parameters for a variety of Clang APIs. llvm-svn: 141437
* Take all of the invoke basic blocks and make the dispatch basic block their newBill Wendling2011-10-071-4/+28
| | | | | | | | | | | successor. Remove the old landing pad from their successor list, because it's now the successor of the dispatch block. Now that the landing pad blocks are no longer the destination of invokes, we can mark them as normal basic blocks instead of landing pads. This more closely resembles what the CFG is actually doing. llvm-svn: 141436
* Add a bool value to set the IsLandingPad flag to.Bill Wendling2011-10-071-1/+1
| | | | llvm-svn: 141435
* [arcmt] Ignore linking errors when doing ARC migration, rdar://10247606Argyrios Kyrtzidis2011-10-072-0/+21
| | | | llvm-svn: 141434
* Provide basic static analyzer support for CXXTemporaryObjectExpr. Patch by ↵Ted Kremenek2011-10-072-1/+25
| | | | | | Jim Goodnow II. llvm-svn: 141433
* [analyzer] Remove dead code.Anna Zaks2011-10-071-8/+1
| | | | llvm-svn: 141432
* Remove some commented out code.Jim Ingham2011-10-071-5/+0
| | | | llvm-svn: 141431
* Clean up some documentation.Jim Ingham2011-10-072-20/+11
| | | | llvm-svn: 141430
* Mention SBBreakpointLocation::GetAddress in the Python .i file.Jim Ingham2011-10-071-0/+3
| | | | llvm-svn: 141429
* Move the responsibility for translating the various eFunctionNameType ↵Jim Ingham2011-10-0710-274/+445
| | | | | | | | | | lookups to the SymbolFIle (it was done mostly in the BreakpointResolverName resolver before.) Then tailor our searches to the way the indexed maps are laid out. This removes a bunch of test case failures using indexed dSYM's. llvm-svn: 141428
* Remove AnalysisContext::getLiveVariables(), and introduce a templatized ↵Ted Kremenek2011-10-0710-37/+97
| | | | | | mechanism to lazily create analyses that are attached to AnalysisContext objects. llvm-svn: 141425
* When a function calculates its module, make sure it returns the "real" ↵Jim Ingham2011-10-071-0/+10
| | | | | | module, not the linked .o file. llvm-svn: 141424
* Fix the option lists that "--file" belongs to so the help won't come out whonky.Jim Ingham2011-10-071-1/+1
| | | | llvm-svn: 141423
* Don't look up main to find the default source file till somebody actually ↵Jim Ingham2011-10-073-20/+34
| | | | | | asks for it. llvm-svn: 141422
* Take the code that was emitted for the llvm.eh.dispatch.setup intrinsic and emitBill Wendling2011-10-072-0/+52
| | | | | | | it with the new SjLj emitter stuff. This way there's no need to emit that kind-of-hacky intrinsic. llvm-svn: 141419
* In DeclContext::LoadLexicalDeclsFromExternalStorage don't clear outArgyrios Kyrtzidis2011-10-073-20/+16
| | | | | | | | | | | | | | | | the fields if they are already loaded, just ignore them when we are building the chain in BuildDeclChain. This fixes an lldb issue where fields were removed and not getting re-added because lldb is based on ASTImporter adding decls to DeclContext and fields were already added before by the ASTImporter. We should really simplify the interaction between DeclContext <-> lldb going forward.. rdar://10246067 llvm-svn: 141418
* [analyzer] Previously, we were passing to CheckerContext enough info to ↵Anna Zaks2011-10-072-29/+40
| | | | | | | | construct ProgramPoint and it would pass it to NodeBuilder, which in turn would construct the ProgramPoint. Simplify it by just passing the ProgramPoint to CheckerContext. The ProgramPoint can only change if a checker tags it, in which case, we create a copy with the given tag. (A step closer to making CheckerContext work with all node builders, not only StmtNodeBuilder.) llvm-svn: 141417
* Thread the chain through the eh.sjlj.setjmp intrinsic, like it's documented toBill Wendling2011-10-073-4/+11
| | | | | | do. This will be useful later on with the new SJLJ stuff. llvm-svn: 141416
* objc++: some minor cleanup and a test caseFariborz Jahanian2011-10-074-8/+18
| | | | | | for atomic setters which requires assignment operator. llvm-svn: 141415
* ProgramPoint cleanup after the previous commit r141408 (remove the copy ↵Anna Zaks2011-10-073-31/+33
| | | | | | | | constructor, mark withTag const). Move getProgramPoint() utility from CoreEngine.cpp into ProgramPoint. llvm-svn: 141414
* Don't emit a shstrtabindex in the reserved range. Spotted by inspection andNick Lewycky2011-10-071-1/+1
| | | | | | patch by Cary Coutant! llvm-svn: 141413
* Clarify/fix typo. No functionality change.Nick Lewycky2011-10-071-2/+2
| | | | llvm-svn: 141412
* Add braces around do-while body. The lack of them gives me the chillsDouglas Gregor2011-10-071-2/+2
| | | | llvm-svn: 141411
* Constrain both operands on MOVZX32_NOREXrr8.Jakob Stoklund Olesen2011-10-072-4/+7
| | | | | | | | | | | | This instruction is explicitly encoded without an REX prefix, so both operands but be *_NOREX. Also add an assertion to copyPhysReg() that fires when the MOV8rr_NOREX constraints are not satisfied. This fixes a miscompilation in 20040709-2 in the gcc test suite. llvm-svn: 141410
* Add a simple PCH test for _Atomic.Eli Friedman2011-10-072-4/+7
| | | | llvm-svn: 141409
* Add a copy constructor to ProgramPoint and pull withTag() method from a ↵Anna Zaks2011-10-071-6/+9
| | | | | | child. (withTag essentialy creates a copy with a given tag.) llvm-svn: 141408
* Fix a few changes I missed.Michael J. Spencer2011-10-072-12/+12
| | | | llvm-svn: 141392
* Change compatibility_versionHoward Hinnant2011-10-071-2/+3
| | | | llvm-svn: 141391
* Add address spaces for TCE target. Patch by Pekka Jääskeläinen.Eli Friedman2011-10-071-0/+7
| | | | llvm-svn: 141390
* Fix GCC again.Michael J. Spencer2011-10-072-4/+4
| | | | llvm-svn: 141389
* Removed code that was left in during testing and debugging of an issue.Greg Clayton2011-10-071-2/+0
| | | | llvm-svn: 141387
* Fix spelling in comment.Michael J. Spencer2011-10-071-3/+3
| | | | llvm-svn: 141386
* Change relocation API to be per section. This time without breaking GCC.Michael J. Spencer2011-10-078-204/+562
| | | | llvm-svn: 141385
* If we spawn an lldb process for test (via pexpect), do not load the init ↵Johnny Chen2011-10-078-9/+15
| | | | | | | | | file unless told otherwise. Set up self.lldbOption to be "--no-lldbibit" unless env variable NO_LLDBIBIT is defined and equals "NO". Also add "-nx" to gdb spawned. llvm-svn: 141384
* Re-organized the contents of RangeMap.h to be more concise and also allow ↵Greg Clayton2011-10-0711-261/+390
| | | | | | | | | | for a Range, RangeArray, RangeData (range + data), or a RangeDataArray. We have many range implementations in LLDB and I will be converting over to using the classes in RangeMap.h so we can have one set of code that does ranges and searching of ranges. Fixed up DWARFDebugAranges to use the new range classes. Fixed the enumeration parsing to take a lldb_private::Error to avoid a lot of duplicated code. Now when an invalid enumeration is supplied, an error will be returned and that error will contain a list of the valid enumeration values. llvm-svn: 141382
* Hack in a workaround for PR11082 until we have a proper fix. ThisChandler Carruth2011-10-072-0/+14
| | | | | | | | un-breaks every glib-dependent compile with Clang. I'm not sure this is even the best workaround, so suggestions welcome. llvm-svn: 141381
* Improve ARM assembly parser diagnostic for unexpected tokens.Jim Grosbach2011-10-071-1/+2
| | | | | | | | | | | | | | | | | Consider: mov r8, r11 fred Previously, we issued the not very informative: x.s:6:1: error: unexpected token in argument list ^ Now we generate: x.s:5:14: error: unexpected token in argument list mov r8, r11 fred ^ llvm-svn: 141380
* Revert 141376 and 141377 due to breaking the build.Bill Wendling2011-10-079-564/+207
| | | | | | | | | | | | | | | | --- Reverse-merging r141377 into '.': U tools/llvm-objdump/MachODump.cpp --- Reverse-merging r141376 into '.': U include/llvm/Object/COFF.h U include/llvm/Object/ObjectFile.h U include/llvm-c/Object.h U tools/llvm-objdump/llvm-objdump.cpp U lib/Object/MachOObjectFile.cpp U lib/Object/COFFObjectFile.cpp U lib/Object/Object.cpp U lib/Object/ELFObjectFile.cpp llvm-svn: 141379
* Remove MultidefsDavid Greene2011-10-0710-303/+13
| | | | | | | | | | | | | | | | | | | Multidefs are a bit unwieldy and incomplete. Remove them in favor of another mechanism, probably for loops. Revert "Make Test More Thorough" Revert "Fix a typo." Revert "Vim Support for Multidefs" Revert "Emacs Support for Multidefs" Revert "Document Multidefs" Revert "Add a Multidef Test" Revert "Update Test for Multidefs" Revert "Process Multidefs" Revert "Parser Multidef Support" Revert "Lexer Support for Multidefs" Revert "Add Multidef Data Structures" llvm-svn: 141378
* Fix spelling in comment.Michael J. Spencer2011-10-071-3/+3
| | | | llvm-svn: 141377
* Change relocation API to be per section.Michael J. Spencer2011-10-078-204/+561
| | | | llvm-svn: 141376
* Turn the EvaluateExpression (..., True) tests back on.Jim Ingham2011-10-072-8/+7
| | | | llvm-svn: 141375
* Clang driver changes for iOS 5.0 and OS X Lion support.Bob Wilson2011-10-073-3/+43
| | | | | | | | Check whether the libc++ library is available when using -stdlib=libc++, and also adjust the check for whether to link with -lgcc_s.1. Patch by Ted Kremenek and Daniel Dunbar. llvm-svn: 141374
* More cleanup using StringSwitch.Chad Rosier2011-10-071-65/+35
| | | | llvm-svn: 141373
* Jakob is the code owner of register allocation and TableGen.Evan Cheng2011-10-071-0/+2
| | | | llvm-svn: 141372
* High bits of movmskp{s|d} and pmovmskb are known zero. rdar://10247336Evan Cheng2011-10-072-0/+58
| | | | llvm-svn: 141371
* Reenable tail calls for iOS 5.0 and later.Bob Wilson2011-10-074-2/+15
| | | | llvm-svn: 141370
OpenPOWER on IntegriCloud