- Sep 09, 2010
-
-
Ted Kremenek authored
llvm-svn: 113467
-
Ted Kremenek authored
llvm-svn: 113466
-
Tom Care authored
Simplified reachability checking in IdempotentOperationChecker and added a helper function for path display. - Created private class CFGReachabilityAnalysis, which provides cached reachability lookups in the CFG - Simplified PathWasCompletelyAnalyzed to use the new reachability class - Added getLastRelevantNodes function for future use with path displaying in BugReporter llvm-svn: 113465
-
Ted Kremenek authored
Relax __attribute_((nonnull)) checking to allow the attribute on functions with no pointer arguments. GCC doesn't warn in this case, and the attribute is trivially satisfied (and benign). Fixes <rdar://problem/8364828>. llvm-svn: 113464
-
Eric Christopher authored
llvm-svn: 113463
-
Dale Johannesen authored
uses MMX, even if it also uses other things) from InstrSSE into InstrMMX. No (intended) functional change. llvm-svn: 113462
-
Eric Christopher authored
llvm-svn: 113461
-
Johnny Chen authored
llvm-svn: 113460
-
Eric Christopher authored
llvm-svn: 113459
-
-
rdar://problem/5880430Ted Kremenek authored
Static analyzer fix: <rdar://problem/5880430> Switch on enum should not consider default case live if all enum values are covered llvm-svn: 113457
-
Bob Wilson authored
operand from the pseudo instruction to the new instruction as an implicit use. This will preserve any other flags (e.g., kill) on the operand. llvm-svn: 113456
-
Eric Christopher authored
llvm-svn: 113455
-
Fariborz Jahanian authored
field of the block descriptor is GC'able (scanned) as this what the runtime expects (one can send it messages). Radar 8394947. llvm-svn: 113454
-
Eric Christopher authored
for integer and fp constants. Implement todo to use vfp3 instructions to materialize easy constants if we can. llvm-svn: 113453
-
Bob Wilson authored
For VLD3/VLD4 with double-spaced registers, add the implicit use of the super register for both the instruction loading the even registers and the instruction loading the odd registers. llvm-svn: 113452
-
Ted Kremenek authored
Enhance -Wunreachable-code to not consider the 'default:' branch of a switch statement live if a switch on an enum value has explicit 'case:' statements for each enum value. llvm-svn: 113451
-
Ted Kremenek authored
Enhance -Wreturn-type to not warn when control-flow is most likely limited by a switch statement explicitly covering all the cases for an enum value. llvm-svn: 113450
-
Ted Kremenek authored
to selectively walk successors/predecessors based on commonly used filters. For starters, add a filter to ignore 'default:' cases for SwitchStmts when all enum values are covered by CaseStmts. llvm-svn: 113449
-
Ted Kremenek authored
llvm-svn: 113448
-
Ted Kremenek authored
covered by individual case statements. Flow-based analyses may wish to consult this information, and recording this in the AST allows us to obviate reconstructing this information later when we build the CFG. llvm-svn: 113447
-
Douglas Gregor authored
TreeTransform, since we were getting an empty source range where we shouldn't. Sadly, the test case is Boost.Proto, and isn't worth reducing. llvm-svn: 113446
-
Jakob Stoklund Olesen authored
llvm-svn: 113445
-
Francois Pichet authored
llvm-svn: 113444
-
Daniel Dunbar authored
llvm-svn: 113443
-
Bob Wilson authored
llvm-svn: 113442
-
Douglas Gregor authored
typeid expressions: - make sure we have a proper source location for the closing ')' - cache the declaration of std::type_info once we've found it llvm-svn: 113441
-
Eric Christopher authored
llvm-svn: 113440
-
Owen Anderson authored
Relax the "don't unroll loops containing calls" rule. Instead, when a loop contains a call, lower the unrolling threshold to the optimize-for-size threshold. Basically, for loops containing calls, unrolling can still be profitable as long as the loop is REALLY small. llvm-svn: 113439
-
Chris Lattner authored
llvm-svn: 113438
-
Chris Lattner authored
llvm-svn: 113437
-
Eric Christopher authored
llvm-svn: 113436
-
Evan Cheng authored
llvm-svn: 113435
-
Dawn Perchik authored
(__uuidof, _fastcall, etc.). llvm-svn: 113434
-
Chris Lattner authored
fix a bunch of signed/unsigned comparison warnings, stop evaluating "getsize" every time through the loop. llvm-svn: 113433
-
Johnny Chen authored
from scripting applications. An example usage from TestConditionalBreak.py is: import lldbutil lldbutil.PrintStackTrace(thread) ./dotest.py -v conditional_break ---------------------------------------------------------------------- Collected 2 tests test_with_dsym (TestConditionalBreak.ConditionalBreakTestCase) Exercise some thread and frame APIs to break if c() is called by a(). ... Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`a at main.c:25 frame #3: a.out`main at main.c:44 frame #4: a.out`start Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`main at main.c:47 frame #3: a.out`start Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`a at main.c:27 frame #2: a.out`main at main.c:50 frame #3: a.out`start ok test_with_dwarf (TestConditionalBreak.ConditionalBreakTestCase) Exercise some thread and frame APIs to break if c() is called by a(). ... Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`a at main.c:25 frame #3: a.out`main at main.c:44 frame #4: a.out`start Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`main at main.c:47 frame #3: a.out`start Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`a at main.c:27 frame #2: a.out`main at main.c:50 frame #3: a.out`start ok ---------------------------------------------------------------------- Ran 2 tests in 7.803s OK llvm-svn: 113432
-
Douglas Gregor authored
pointer type, actually provide a usable block literal expression. llvm-svn: 113431
-
Sean Callanan authored
with the Clang parser that prevents us from passing Objective-C types to functions that expect C types. This quick hack keeps us in business until that interaction is fixed. llvm-svn: 113429
-
Fariborz Jahanian authored
llvm-svn: 113428
-
-