Skip to content
  1. Oct 02, 2011
  2. Oct 01, 2011
  3. Sep 30, 2011
  4. Sep 28, 2011
  5. Sep 27, 2011
  6. Sep 26, 2011
  7. Sep 24, 2011
  8. Sep 23, 2011
  9. Sep 22, 2011
    • Anna Zaks's avatar
      ST->scanReachableSymbols() is creating a SubRegionMap (SRM) on every call... · 9db35a87
      Anna Zaks authored
      ST->scanReachableSymbols() is creating a SubRegionMap (SRM) on every call since one SRM is created in each ScanReachableSymbols instance. Creating the object just once and calling only scan inside the loop gives ~ 14% speed up of the StaticAnalyzer run (Release+Asserts). 
      
      Pull out the declaration of the ScanReachableSymbols so that it can be used directly. Document ProgramState::scanReachableSymbols() methods.
      
      llvm-svn: 140323
      9db35a87
  10. Sep 21, 2011
  11. Sep 20, 2011
  12. Sep 19, 2011
  13. Sep 16, 2011
    • Anna Zaks's avatar
      [analyzer] Refactor: make PathDiagnosticLocation responsible for validation of... · efd182d9
      Anna Zaks authored
      [analyzer] Refactor: make PathDiagnosticLocation responsible for validation of SourceLocations (commit 5 of ?):
       - Get rid of PathDiagnosticLocation(SourceRange r,..) constructor by providing a bunch of create methods.
       - The PathDiagnosticLocation(SourceLocation L,..), which is used by crate methods, will eventually become private.
       - Test difference is in the case when the report starts at the beginning of the function. We used to represent that point as a range of the very first token in the first statement. Now, it's just a single location representing the first character of the first statement.
      
      llvm-svn: 139932
      efd182d9
  14. Sep 15, 2011
    • Anna Zaks's avatar
      [analyzer] Refactor: make PathDiagnosticLocation responsible for validation of... · 207c6801
      Anna Zaks authored
      [analyzer] Refactor: make PathDiagnosticLocation responsible for validation of SourceLocations (commit 4 of ?):
       - The closing brace is always a single location, not a range.
       - The test case previously had a location key 57:1 followed by a range [57:1 - 57:1]. 
      
      llvm-svn: 139832
      207c6801
    • Anna Zaks's avatar
      [analyzer] Refactor: make PathDiagnosticLocation responsible for validation of... · 921f0492
      Anna Zaks authored
      [analyzer] Refactor: make PathDiagnosticLocation responsible for validation of SourceLocations (commit 2 of ?):
      - Fix a fixme and move the logic of creating a PathDiagnosticLocation corresponding to a ProgramPoint into a PathDiagnosticLocation constructor.
      - Rename PathDiagnosticLocation::create to differentiate from the added constructor.
      
      llvm-svn: 139825
      921f0492
    • Anna Zaks's avatar
      [analyzer] Refactor: make PathDiagnosticLocation responsible for validation of... · 3a769bd9
      Anna Zaks authored
      [analyzer] Refactor: make PathDiagnosticLocation responsible for validation of SourceLocations (commit 2 of ?):
      - Modify all PathDiagnosticLocation constructors that take Stmt to also requre LocationContext.
      - Add a constructor which should be used in case there is no valid statement/location (it will grab the location of the enclosing function).
      
      llvm-svn: 139763
      3a769bd9
  15. Sep 14, 2011
    • Anna Zaks's avatar
      [analyzer] After CFG has been linearized, we can have a situation where an... · 615e3a69
      Anna Zaks authored
      [analyzer] After CFG has been linearized, we can have a situation where an ExpoledNode has an invalid SourceLocation (which has no correspondence in the source code). This commit is the first step to solve this problem.
       - It adds LocationContext to the PathDiagnosticLocation object and uses it to lookup the enclosing statement with a valid location.
       - So far, the LocationContext is only available when the object is constructed from the ExplodedNode.
       - Already found some subtle bugs(in plist-output-alternate.m) where the intermediate diagnostic steps were not previously shown. 
      
      llvm-svn: 139703
      615e3a69
    • Anna Zaks's avatar
      [analyzer] Refactor: Make PathDiagnosticLocation responsible for creating a... · 2c65eea9
      Anna Zaks authored
      [analyzer] Refactor: Make PathDiagnosticLocation responsible for creating a valid object given an ExploadedNode (the same logic can be reused by other checkers).
      
      llvm-svn: 139672
      2c65eea9
  16. Sep 13, 2011
  17. Sep 12, 2011
  18. Sep 10, 2011
Loading