- Aug 24, 2011
-
-
Johnny Chen authored
Skip these two cases temporarily while investigating the crash on OSX Lion with clang as the compiler. llvm-svn: 138393
-
Bruno Cardoso Lopes authored
permutations. Also tidy up some patterns and make them close to their instruction definition! llvm-svn: 138392
-
Johnny Chen authored
llvm-svn: 138391
-
Jordy Rose authored
llvm-svn: 138390
-
Eric Christopher authored
llvm-svn: 138389
-
Jordy Rose authored
[analyzer] Make CFRefBug and CFRefReportVisitor not dependent on CFRefCount. Unfortunately, CFRefReport still is. No functionality change. llvm-svn: 138388
-
Bill Wendling authored
llvm-svn: 138387
-
Jim Grosbach authored
It should go before AsmPrinter MC pseudo expansion since it's based on MachineInstr, not MCInst. Otherwise any frame related pseudo instructions may be missed. llvm-svn: 138386
-
Enrico Granata authored
llvm-svn: 138385
-
Enrico Granata authored
Renamed format "signed decimal" to be "decimal". "unsigned decimal" remains unchanged: - the name "signed decimal" was interfering with symbol %S (use summary) in summary strings. because of the way summary strings are implemented, this did not really lead to a bug, but simply to performing more steps than necessary to display a summary. this is fixed. Documentation improvements (more on synthetic children, some information on filters). This is still a WIP. llvm-svn: 138384
-
Sean Callanan authored
expression parser. You can use a persistent type like this: (lldb) expr struct $foo { int a; int b; }; (lldb) struct $foo i; i.a = 2; i.b = 3; i ($foo) $0 = { (int) a = 2 (int) b = 3 } typedefs work similarly. This patch affects the following files: test/expression_command/persistent_types/* A test case for persistent types, in particular structs and typedefs. ClangForward.h Added TypeDecl, needed to declare some functions in ASTResultSynthesizer.h ClangPersistentVariables.[h,cpp] Added a list of persistent types to the persistent variable store. ASTResultSynthesizer.[h,cpp] Made the AST result synthesizer iterate across TypeDecls in the expression, and record any persistent types found. Also made a minor documentation fix. ClangUserExpression.[h,cpp] Extended the user expression class to keep the state needed to report the persistent variable store for the target to the AST result synthesizers. Also introduced a new error code for expressions that executed normally but did not return a result. CommandObjectExpression.cpp Improved output for expressions (like declarations of new persistent types) that don't return a result. This is no longer treated as an error. llvm-svn: 138383 -
Jordy Rose authored
[analyzer] Cleanup: Move temporary declarations of CFRefCount variables closer to their uses. No functionality change. llvm-svn: 138382
-
Argyrios Kyrtzidis authored
llvm-svn: 138381
-
Argyrios Kyrtzidis authored
to increased calls to SourceManager::getFileID. (rdar://9992664) Use a slightly different approach that is more efficient both in terms of speed (no extra getFileID calls) and in SLocEntries reduction. Comparing pre-r138129 and this patch we get: For compiling SemaExpr.cpp reduction of SLocEntries by 26%. For the boost enum library: -SLocEntries -34% (note that this was -5% for r138129) -Memory consumption -50% -PCH size -31% Reduced SLocEntries also benefit the hot function SourceManager::getFileID, evident by the reduced "FileID scans". llvm-svn: 138380
-
Argyrios Kyrtzidis authored
since it is a bit more efficient. llvm-svn: 138379
-
Argyrios Kyrtzidis authored
llvm-svn: 138378
-
Argyrios Kyrtzidis authored
llvm-svn: 138377
-
Argyrios Kyrtzidis authored
the extra SourceManager::getFileID call. llvm-svn: 138376
-
Argyrios Kyrtzidis authored
llvm-svn: 138375
-
Jordy Rose authored
[analyzer] Move function retain-count effect summary log from CFRefCount to RetainReleaseChecker, and then explicitly provide the summary log when creating CFRefReports. No functionality change. llvm-svn: 138374
-
Jim Grosbach authored
llvm-svn: 138373
-
Ted Kremenek authored
incorrectly in the CFG, and also the static analyzer. This patch regresses the analyzer a bit, but that needs to be followed up with a better solution. Fixes <rdar://problem/10008112>. llvm-svn: 138372
-
Nate Begeman authored
llvm-svn: 138371
-
Jordy Rose authored
[analyzer] Move helper method Update from CFRefCount to RetainReleaseChecker. No functionality change. llvm-svn: 138370
-
Eli Friedman authored
llvm-svn: 138369
-
Eli Friedman authored
llvm-svn: 138368
-
Evan Cheng authored
from MC. llvm-svn: 138367
-
Eric Christopher authored
This reverts commit 20a05be15ea5271ab6185b83200fa88263362400. (svn rev 138340) Conflicts: test/Transforms/InstCombine/bitcast.ll llvm-svn: 138366
-
Jordy Rose authored
[analyzer] Move helper method handleAutoreleaseCounts from CFRefCount to RetainReleaseChecker. No functionality change. llvm-svn: 138365
-
Jim Grosbach authored
llvm-svn: 138364
-
Jim Grosbach authored
llvm-svn: 138363
-
Jim Grosbach authored
llvm-svn: 138362
-
Jim Grosbach authored
llvm-svn: 138361
-
Jim Grosbach authored
llvm-svn: 138360
-
Jim Grosbach authored
llvm-svn: 138359
-
Jordy Rose authored
[analyzer] Move ReturnStmt retain-count analysis from CFRefCount to RetainReleaseChecker. Tweak CFRefReport to reflect that fact that ReturnStmt checks are pre-statement, not post-statement. No intended functionality change. llvm-svn: 138358
-
Evan Cheng authored
llvm-svn: 138356
-
Nick Lewycky authored
llvm-svn: 138354
-
Jordy Rose authored
llvm-svn: 138353
-
Jim Grosbach authored
llvm-svn: 138352
-