summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* GRExprEngine: Add pretty-stack trace printing for crashes and assertion ↵Ted Kremenek2009-03-111-2/+14
| | | | | | failures. llvm-svn: 66629
* SimpleConstraintManager doesn't reason about bitwise-constraints on symbolicTed Kremenek2009-03-112-0/+26
| | | | | | | values. Indicating this in 'canReasonAbout' allows GRExprEngine to recover path-sensitivity in some cases. llvm-svn: 66628
* GRExprEngine: For places we might conjure up a new symbol to recoverTed Kremenek2009-03-111-7/+11
| | | | | | | | path-sensitivity, beyond checking to see if the value is "unknown" also check if the ConstraintManager can handle the SVal. This allows us to recover some path-sensitivity by actually discarding some information. llvm-svn: 66627
* Add accessor method.Ted Kremenek2009-03-111-0/+4
| | | | llvm-svn: 66626
* Add accessor method to return a GRStateManager's internal ConstraintManager.Ted Kremenek2009-03-111-0/+1
| | | | llvm-svn: 66625
* Added method "canReasonAbout" to ConstraintManager. This method returns true ifTed Kremenek2009-03-113-0/+14
| | | | | | a ConstraintManager can usefully reason about the given SVal. llvm-svn: 66624
* Display the exploded graph before calling BugReporter.FlushReports(). The latterTed Kremenek2009-03-111-4/+4
| | | | | | | deletes all registered BugTypes from BugReporter, and thus we need to display the graph first. llvm-svn: 66623
* Use the BugReports in BugReporter to determine the root nodes for "trim-egraph".Ted Kremenek2009-03-111-31/+15
| | | | llvm-svn: 66622
* Add some iterators to BugReporter.Ted Kremenek2009-03-111-0/+26
| | | | llvm-svn: 66621
* Use the right indentationAnders Carlsson2009-03-111-27/+27
| | | | llvm-svn: 66620
* Clear all the linetable state in clear(), fixing problemsChris Lattner2009-03-111-0/+1
| | | | | | | with "clang t.i s.i" where the .i files contain line markers. rdar://6667812 llvm-svn: 66619
* fix PR3258 by rejecting invalid numeric operands.Chris Lattner2009-03-114-7/+31
| | | | llvm-svn: 66618
* Remove space-break that interrupts one string literal. This is fine in C, ↵Ted Kremenek2009-03-111-3/+3
| | | | | | but not in TableGen files. llvm-svn: 66616
* More Next objc2's gc ivar layout bitmap work.Fariborz Jahanian2009-03-112-3/+137
| | | | | | Work in progress. llvm-svn: 66615
* checking for symbolic operands as well as % at end of string.Chris Lattner2009-03-113-14/+36
| | | | llvm-svn: 66614
* Fix typo.Daniel Dunbar2009-03-111-1/+1
| | | | llvm-svn: 66613
* Put the assignment back at the top of this method.Bill Wendling2009-03-111-2/+2
| | | | llvm-svn: 66611
* Two coalescer fixes in one.Evan Cheng2009-03-114-8/+98
| | | | | | | 1. Use the same value# to represent unknown values being merged into sub-registers. 2. When coalescer commute an instruction and the destination is a physical register, update its sub-registers by merging in the extended ranges. llvm-svn: 66610
* Make ivars private. Other cleanup. No functionality change.Bill Wendling2009-03-101-59/+27
| | | | llvm-svn: 66607
* position the caret properly on asm string diagnostics, e.g.:Chris Lattner2009-03-102-4/+3
| | | | | | | | Sema/asm.c:64:9: error: invalid % escape in inline assembly string asm("%!" : ); // expected-error {{invalid % escape in inline assembly string}} ~~^~ llvm-svn: 66606
* reject invalid escape characters in extended-asm strings with a nice diagnostic.Chris Lattner2009-03-104-24/+36
| | | | llvm-svn: 66605
* Driver: Add host info (add new files).Daniel Dunbar2009-03-101-0/+84
| | | | llvm-svn: 66604
* Driver: Add host info (add new files).Daniel Dunbar2009-03-101-0/+61
| | | | llvm-svn: 66603
* Changed Allocate to use size_t instead of unsigned.Mon P Wang2009-03-101-2/+2
| | | | llvm-svn: 66602
* Add type checking for tentative definitions at the end of theDouglas Gregor2009-03-1010-63/+117
| | | | | | | | | translation unit. Thread the various declarations of variables via VarDecl::getPreviousDeclaration. llvm-svn: 66601
* Driver: Add host info.Daniel Dunbar2009-03-103-17/+49
| | | | | | | - Replace assorted -ccc-host-* options by -ccc-host-triple which is more sane. llvm-svn: 66600
* add plumbing to report diagnostics back through sema for malformed asmstrings.Chris Lattner2009-03-104-9/+24
| | | | llvm-svn: 66598
* move the asm string analysis code out of codegen into common Chris Lattner2009-03-103-116/+182
| | | | | | code where Sema can get to it. No functionality change. llvm-svn: 66596
* Add an explicit keyword.Dan Gohman2009-03-101-1/+1
| | | | llvm-svn: 66595
* Fixed rounding up EltSizeMon P Wang2009-03-101-1/+1
| | | | llvm-svn: 66594
* Give Op<N>() AppleScript-like semantics, i.e. for negative N it indexes ↵Gabor Greif2009-03-102-16/+19
| | | | | | | | relative to op_end. This is a preliminary to changes to come. No intended functionality change. llvm-svn: 66593
* Just make the Dwarf timer group static inside of the getter function. No ↵Bill Wendling2009-03-101-7/+5
| | | | | | need to alloc/dealloc. llvm-svn: 66591
* Don't put static functions in anonymous namespace.Bill Wendling2009-03-101-4/+0
| | | | llvm-svn: 66589
* Don't consider debug intrinsics when checkingDale Johannesen2009-03-101-2/+2
| | | | | | whether a callee to be inlined is a leaf. llvm-svn: 66588
* These should *stop* the timer, not start it again.Bill Wendling2009-03-101-2/+2
| | | | llvm-svn: 66586
* - Fix misspelled method name.Bill Wendling2009-03-101-11/+5
| | | | | | - Remove unused method. llvm-svn: 66585
* Partial fix for PR3310, concerning type-checking for tentativeDouglas Gregor2009-03-105-17/+37
| | | | | | | | | | | definitions. We were rejecting tentative definitions of incomplete (which is bad), and now we don't. This fix is partial because we don't do the end-of-translation-unit initialization for tentative definitions that don't ever have any initializers specified. llvm-svn: 66584
* - Create GetOrCreateSourceID from getOrCreateSourceID. GetOrCreateSourceID isBill Wendling2009-03-101-79/+82
| | | | | | | | | | | the untimed version of getOrCreateSourceID. getOrCreateSourceID calls GetOrCreateSourceID, of course. - Move some methods into the "private" section. Constify at least one method. - General clean-ups. llvm-svn: 66582
* Readd test, but XFAIL it.Bill Wendling2009-03-101-0/+14
| | | | llvm-svn: 66581
* Emit super class debug info.Devang Patel2009-03-101-0/+11
| | | | llvm-svn: 66580
* Refine the Dwarf writer timers so that they measure exception writing and debugBill Wendling2009-03-102-147/+169
| | | | | | writing individually. llvm-svn: 66577
* Removing a dead debug intrinsic shouldn't triggerDale Johannesen2009-03-101-3/+6
| | | | | | | another instcombine pass if we weren't going to make one without debug info. llvm-svn: 66576
* Driver: Handle magic -ccc- options.Daniel Dunbar2009-03-104-11/+146
| | | | | | | - Follows ccc currently, but this functionality should eventually be outside the Driver lib. llvm-svn: 66575
* Revert 66358 for now. It's breaking povray, 450.soplex, and 456.hmmer on x86 ↵Evan Cheng2009-03-103-68/+5
| | | | | | / Darwin. llvm-svn: 66574
* Extend the notion of active template instantiations to include theDouglas Gregor2009-03-1010-35/+175
| | | | | | | | | | | | context of a template-id for which we need to instantiate default template arguments. In the TextDiagnosticPrinter, don't suppress the caret diagnostic if we are producing a non-note diagnostic that follows a note diagnostic with the same location, because notes are (conceptually) a part of the warning or error that comes before them. llvm-svn: 66572
* Add a timer to the DwarfWriter pass that measures the total time it takes toBill Wendling2009-03-102-9/+115
| | | | | | emit exception and debug Dwarf info. llvm-svn: 66571
* Add -disable-bindings for utils/NewNightlyTest.plDaniel Dunbar2009-03-101-0/+2
| | | | llvm-svn: 66566
* Change these sed lines to behave correctly when the input stringDan Gohman2009-03-101-5/+10
| | | | | | contains commas. This fixes PR3727. llvm-svn: 66565
* If we run into multiple errors within the same template instantiation,Douglas Gregor2009-03-103-5/+30
| | | | | | | | | only print the template instantiation backtrace for the first error. Also, if a base class has failed to type-check during instantiation, just drop that base class and continue on to check other base classes. llvm-svn: 66563
* Use WriteAsOperand instead of manually decorating the name for thisDan Gohman2009-03-101-11/+8
| | | | | | debug output. This improves the printing of anonymous values. llvm-svn: 66561
OpenPOWER on IntegriCloud