summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Perform more thorough checking of t2IT mask parameters, which fixes all ↵Owen Anderson2011-08-242-0/+14
| | | | | | remaining crashers when disassembling the entire 16-bit instruction space. llvm-svn: 138507
* [analyzer] CFRefReport and friends no longer depend on CFRefCount.Jordy Rose2011-08-241-39/+46
| | | | llvm-svn: 138506
* Hook up 64-bit atomic load/store on x86-32. I plan to write more efficient ↵Eli Friedman2011-08-242-3/+52
| | | | | | implementations eventually. llvm-svn: 138505
* Some autoconf tests use module level inline asm to test compiler's handling ofEvan Cheng2011-08-243-6/+15
| | | | | | | | | | | | | | | | .cfi_startproc. e.g. libffi: $ cat confopt.c asm (".cfi_startproc\n\t.cfi_endproc"); int main () { return 0; } Teach MC / dwarf emission to handle these cfi directives which essentially create an empty frame. rdar://10017184 llvm-svn: 138504
* Remove skip decorator now that crash has been fixed.Johnny Chen2011-08-242-3/+1
| | | | | | Fix a compie warning for main.cpp. llvm-svn: 138503
* Update tests for 138501.Jim Grosbach2011-08-241-1/+1
| | | | llvm-svn: 138502
* ARM asm backend initialize isThumbMode based on target triple.Jim Grosbach2011-08-241-1/+1
| | | | llvm-svn: 138501
* Thumb .n mnemonic qualifiers can be ignored for now.Jim Grosbach2011-08-241-1/+5
| | | | | | | We'll need to pay attention to them when we start getting more serious about the details of parsing thumb2 assembly. llvm-svn: 138500
* Fixed a bug where the target for an expression wasSean Callanan2011-08-241-4/+4
| | | | | | | | not set if the containing function could not be found. This caused LLDB to crash later in expression parsing. llvm-svn: 138499
* Remove long-dead FIXMEDouglas Gregor2011-08-241-2/+0
| | | | llvm-svn: 138498
* [analyzer] Do not use references in std::pair.Anna Zaks2011-08-241-4/+4
| | | | llvm-svn: 138497
* Don't force the complete deserialization of the visible-declarationsDouglas Gregor2011-08-249-101/+1
| | | | | | | | | | table when serializing an AST file. This was a holdover from the days before chained PCH, and is a complete waste of time and storage now. It's a good thing it's useless, because I have no idea how I would have implemented MaterializeVisibleDecls efficiently in the presence of modules. llvm-svn: 138496
* Thumb parsing and encoding for SUB (SP minu immediate).Jim Grosbach2011-08-243-11/+19
| | | | | | | Fix FiXME in test file. Remove FIXME for SUB (SP minus register) since that form is Thumb2 only. llvm-svn: 138494
* [analyzer] Unbreak the release buildbot.Anna Zaks2011-08-241-2/+1
| | | | llvm-svn: 138493
* Be careful not to walk off the end of the operand info list while updating ↵Owen Anderson2011-08-241-1/+2
| | | | | | VFP predicates. llvm-svn: 138492
* Introduce a depth-first search of modules into the module manager,Douglas Gregor2011-08-243-27/+126
| | | | | | | | | | | | which supports both pre-order and post-order traversal via a visitor mechanism. Use this depth-first search with a post-order traversal to give predictable ordering semantics when walking all of the lexical declarations in the translation unit. Eventually, module imports will occur in the source code rather than at the beginning, and we'll have to revisit this walk. llvm-svn: 138490
* Follow up to r138470 (Add PNaCl TargetInfo). I've occasionally submitted ↵Ivan Krasin2011-08-242-7/+17
| | | | | | wrong patch. llvm-svn: 138489
* Thumb parsing and encoding support for ADD SP instructions.Jim Grosbach2011-08-245-20/+118
| | | | | | | Fix the test FIXME and add parsing support for the ADD (SP plus immediate) and ADD (SP plus register) instruction forms. llvm-svn: 138488
* Fix whitespace.Eli Friedman2011-08-241-8/+8
| | | | llvm-svn: 138487
* Basic tests for atomic load and store on x86.Eli Friedman2011-08-241-0/+22
| | | | llvm-svn: 138486
* Skip the landingpad instruction when determining the insertion point.Bill Wendling2011-08-242-3/+10
| | | | llvm-svn: 138481
* [analyzer] MacOSKeychainAPIChecker: Provide reacher diagnostic trace by ↵Anna Zaks2011-08-242-18/+108
| | | | | | pointing to the allocation site when reporting a leak. llvm-svn: 138479
* Basic x86 code generation for atomic load and store instructions.Eli Friedman2011-08-2410-29/+254
| | | | llvm-svn: 138478
* [analyzer] Silence an (incorrect) uninitialized variable warning, caught by ↵Jordy Rose2011-08-241-1/+2
| | | | | | Cameron. llvm-svn: 138477
* [analyzer] Copy GC mode setting from CFRefCount to RetainReleaseChecker in ↵Jordy Rose2011-08-241-20/+46
| | | | | | | | preparation for getting rid of CFRefCount. This is a little hacky for now but will get better once we decide the best way to handle this. llvm-svn: 138476
* Silence 'may be used uninitialized' warnings.Argyrios Kyrtzidis2011-08-241-2/+2
| | | | llvm-svn: 138475
* [analyzer] Allow checker writes to specify that no region should be ↵Anna Zaks2011-08-242-1/+9
| | | | | | accosiated with the report. (Useful when we report an error on endOfPath or deadSymbols, when the range of the last expression might have nothing to do with the error.) llvm-svn: 138474
* Use getFirstInsertionPt instead of getFirstNonPHI so that it skips to the properBill Wendling2011-08-241-3/+3
| | | | | | insertion place. llvm-svn: 138473
* Some minor updates to atomic acquire/release docs in LangRef.Eli Friedman2011-08-241-7/+8
| | | | llvm-svn: 138472
* Add PNaCl TargetInfo.Ivan Krasin2011-08-242-0/+158
| | | | llvm-svn: 138470
* Implement Constant::isAllOnesValue(). Fix ConstantFolding to use the new api.Nadav Rotem2011-08-245-19/+62
| | | | llvm-svn: 138469
* When printing Thumb1 NOP ('mov r8, r8'), make sure to print the predicate.Jim Grosbach2011-08-241-0/+1
| | | | | | rdar://10015134 llvm-svn: 138467
* Pretty print the run options for dumpSessionInfo(self) client.Johnny Chen2011-08-241-4/+6
| | | | llvm-svn: 138466
* Fix compile warning.Johnny Chen2011-08-241-0/+1
| | | | llvm-svn: 138465
* [analyzer] Remove unused DoNothingByRef and the special case for ↵Jordy Rose2011-08-241-13/+2
| | | | | | | | CFDictionaryCreate. This is a very small regression (actually introduced in r138309) because it won't catch leaks of objects passed by reference to CFDictionaryCreate (they're considered to have escaped and are ignored). If this is important we can put in a specific eval::Call to restore the functionality. llvm-svn: 138464
* In the AST reader, switch name lookup within a DeclContect over to theDouglas Gregor2011-08-246-139/+162
| | | | | | | | | | | | | | | | | | module DAG-based lookup scheme. This required some reshuffling, so that each module stores its own mapping from DeclContexts to their lexical and visible sets for those DeclContexts (rather than one big "chain"). Overall, this allows simple qualified name lookup into the translation unit to gather results from multiple modules, with the lookup results in module B shadowing the lookup results in module A when B imports A. Walking all of the lexical declarations in a module DAG is still a mess; we'll end up walking the loaded module list backwards, which works fine for chained PCH but doesn't make sense in a DAG. I'll tackle this issue as a separate commit. llvm-svn: 138463
* [analyzer] Slightly clean up the fix in 138432, so that it doesn't depend on ↵Jordy Rose2011-08-241-20/+41
| | | | | | the relative ordering of path-sensitive and path-insensitive checks. Still not ideal, but I think a real fix would require infrastructure that doesn't exist yet. llvm-svn: 138462
* Mark VZEROALL as clobbering all YMM registersBruno Cardoso Lopes2011-08-241-3/+7
| | | | llvm-svn: 138461
* Thread safety: Fix a few typos in last commit -- use LockID instead of Lock ↵Caitlin Sadowski2011-08-241-14/+14
| | | | | | in comments and start a couple methods with a lowercase letter llvm-svn: 138460
* Don't display the stdout if not in TraceOn(), i.e, '-t option, mode.Johnny Chen2011-08-241-0/+4
| | | | llvm-svn: 138458
* Add missing explicit writeback operand to tSTMIA_UPD.Jim Grosbach2011-08-242-4/+5
| | | | | | rdar://10014745 llvm-svn: 138457
* The plugin impl of getCompiler() should be in unison with the Makefile.rules ↵Johnny Chen2011-08-242-1/+6
| | | | | | change. llvm-svn: 138454
* Remove the expectedFailure decorator. The test has been passing for some ↵Johnny Chen2011-08-241-1/+0
| | | | | | time now. llvm-svn: 138452
* Match LLVM change: TargetRegistry and TargetSelect have been moved to Support.Evan Cheng2011-08-245-9/+9
| | | | llvm-svn: 138451
* Move TargetRegistry and TargetSelect from Target to Support where they belong.Evan Cheng2011-08-24120-138/+132
| | | | | | These are strictly utilities for registering targets and components. llvm-svn: 138450
* Fix a crashing bug in SplitBlock when it is called on a block with noRafael Espindola2011-08-241-5/+6
| | | | | | | | dominator information even though dominators were previously computed. Patch by Nick Sumner. llvm-svn: 138449
* Thumb add SP assembly syntax fix.Jim Grosbach2011-08-241-2/+2
| | | | llvm-svn: 138448
* Moved the test code for Python commands out of the test case for aliases, ↵Enrico Granata2011-08-241-6/+0
| | | | | | into its own dedicated test case (one fill was still lurking in the old folder) llvm-svn: 138446
* Thumb1 ADD/SUB SP instructions are predicable in Thumb2 mode.Jim Grosbach2011-08-249-39/+40
| | | | | | | | | Add the predicate operand to the instructions. Update the back end accordingly where the instructions are used. Restrict the SP operands to actually only be SP, as otherwise these break assembly parsing for the normal instruction variants. llvm-svn: 138445
* Moved the test code for Python commands out of the test case for aliases, ↵Enrico Granata2011-08-246-38/+144
| | | | | | into its own dedicated test case llvm-svn: 138444
OpenPOWER on IntegriCloud