- Aug 24, 2011
-
-
Anna Zaks authored
[analyzer] MacOSKeychainAPIChecker: Retrieve the memory region which we are tracking even when it's no longer a SymbolicRegion, for example, when it is cast to char*. llvm-svn: 138415
-
Anna Zaks authored
llvm-svn: 138414
-
Eric Christopher authored
llvm-svn: 138413
-
Fariborz Jahanian authored
// rdar://9362887. llvm-svn: 138412
-
Bruno Cardoso Lopes authored
<i32 3, i32 2, i32 8, i32 11, i32 3, i32 6, i32 12, i32 15> generate: <i32 3, i32 2, i32 8, i32 11, i32 7, i32 6, i32 12, i32 15> llvm-svn: 138411
-
Ted Kremenek authored
handled SCC's of dead code, or simply having false negatives by overly suppressing warnings. WIP. llvm-svn: 138410
-
Ted Kremenek authored
CFG: record set of C++ 'try' dispatch blocks, which could be of interest to various analyses (e.g., reachability). llvm-svn: 138409
-
Ted Kremenek authored
llvm-svn: 138408
-
Ted Kremenek authored
llvm-svn: 138407
-
Bill Wendling authored
This is not necessarily the first or dominating use of the EH values. The IR breaks if it's not. So replace the specific value in the instruction with the new value. llvm-svn: 138406
-
Eric Christopher authored
This reverts commit 6886a92640f5bffc972f67c0a1f302d6c6e7c322. llvm-svn: 138405
-
Eric Christopher authored
llvm-svn: 138404
-
Johnny Chen authored
llvm-svn: 138403
-
Tobias Grosser authored
Polly adds, after it is loaded into opt or clang, its passes to the default set of -O3 passes. This means optimizing a program with clang and Polly becomes as simple as executing. clang -Xclang -load -Xclang lib/LLVMPolly.so -O3 program.c The same should work for dragonegg powered gfortran, g++, ... or any other tool that uses the PassManagerBuilder. Warning: Even though using Polly became with this commit extremly easy, Polly is still Pre-Alpha Quality. This means in most cases it will rather destroy the world than doing anything positive. ;-) llvm-svn: 138402
-
Tobias Grosser authored
llvm-svn: 138401
-
Tobias Grosser authored
llvm-svn: 138400
-
Johnny Chen authored
./dotest.py -v -f DataFormatterTestCase.test_with_dsym_and_run_command will not end up running 14 tests. llvm-svn: 138399
-
Eli Friedman authored
Refactor and fix checking for initialization of flexible array members. The old version had the checks scattered across the code, missed some checks, and had a couple nasty bugs in existing checks. Fixes PR10648 and another similar accepts-invalid bug. llvm-svn: 138398
-
Bill Wendling authored
The invoke could be at the end of the entry block. If it's the only one, then we won't process all of the landingpad instructions correctly. This code is currently ugly, but should be made much nicer once the new EH switch is thrown. llvm-svn: 138397
-
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
-
- Aug 23, 2011
-
-
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
-