Skip to content
  1. Oct 17, 2008
    • Ted Kremenek's avatar
      Remove lval::FieldOffset, lval::ArrayOffset. These will be replaced with regions. · 3ad391d8
      Ted Kremenek authored
      Remove GRExprEngine::getLVal and RValues::MakeVal.
      Enhance StoreManager "GetLValue" methods to dispatch for specific kinds of lvalue queries, as opposed to interogating the expression tree (GRExprEngine already does this).
      
      Added FIXMEs.  In particular, we no longer "assume" that a base pointer in a field/array access is null (this logic was removed).  Perhaps we should do this when fetching the lvalue for fields and array elements?
      
      llvm-svn: 57657
      3ad391d8
  2. Oct 16, 2008
  3. Oct 04, 2008
    • Ted Kremenek's avatar
      This is a big patch, but the functionality change is small and the rest of the... · 5ca90a24
      Ted Kremenek authored
      This is a big patch, but the functionality change is small and the rest of the patch consists of deltas due to API changes.
      
      This patch overhauls the "memory region" abstraction that was prototyped (but never really used) as part of the Store.h.  This patch adds MemRegion.h and MemRegion.cpp, which defines the class MemRegion and its subclasses.  This classes serve to define an abstract representation of memory, with regions being layered on other regions to to capture the relationships between fields and variables, variables and the address space they are allocated in, and so on.  
      
      The main motivation of this patch is that key parts of the analyzer assumed that all value bindings were to VarDecls.  In the future this won't be the case, and this patch removes lval::DeclVal and replaces it with lval::MemRegionVal.  Now all pieces of the analyzer must reason about abstract memory blocks instead of just variables.
      
      There should be no functionality change from this patch, but it opens the door for significant improvements to the analyzer such as field-sensitivity and object-sensitivity, both which were on hold until the memory abstraction got generalized.
      
      The memory region abstraction also allows type-information to literally be affixed to a memory region.  This will allow the some now redundant logic to be removed from the retain/release checker.
      
      llvm-svn: 57042
      5ca90a24
  4. Oct 01, 2008
  5. Aug 24, 2008
  6. Aug 17, 2008
  7. Aug 11, 2008
    • Daniel Dunbar's avatar
      More #include cleaning · 6e8aa537
      Daniel Dunbar authored
       - Drop {Decl.h,DeclObjC.h,IdentifierTable.h} from Expr.h
       - Moved Sema::getCurMethodDecl() out of line (dependent on
         ObjCMethodDecl via dyn_cast).
      
      llvm-svn: 54629
      6e8aa537
  8. Jul 18, 2008
  9. May 01, 2008
  10. Apr 30, 2008
  11. Apr 22, 2008
  12. Apr 02, 2008
  13. Mar 16, 2008
    • Chris Lattner's avatar
      Make a major restructuring of the clang tree: introduce a top-level · 7a51313d
      Chris Lattner authored
      lib dir and move all the libraries into it.  This follows the main
      llvm tree, and allows the libraries to be built in parallel.  The
      top level now enforces that all the libs are built before Driver,
      but we don't care what order the libs are built in.  This speeds
      up parallel builds, particularly incremental ones.
      
      llvm-svn: 48402
      7a51313d
  14. Mar 09, 2008
  15. Mar 07, 2008
  16. Mar 06, 2008
  17. Mar 05, 2008
  18. Feb 28, 2008
  19. Feb 26, 2008
  20. Feb 21, 2008
    • Ted Kremenek's avatar
      Major cleanup of path-sensitive analysis engine and the current analysis · 7f0639b0
      Ted Kremenek authored
      based on constant. prop. and limited symbolics.
      
      - Renamed class: RValue -> RVal, LValue -> LVal, etc.
      - Minor method renamings and interface cleanups.
      - Tightened the RVal "type system" so that UninitializedVal and UnknownVal
        cannot be cast to LVal or NonLVal.  This forces these corner cases values
        to be explicitly handled early before being dispatched to plug-in transfer
        function logic.
      - Major cleanup in the transfer function logic for binary and unary operators.
        Still fixing some regressions, but we now explicitly handle Uninitialized
        and Unknown values in a more rigorous way.
      
      llvm-svn: 47441
      7f0639b0
  21. Feb 20, 2008
  22. Feb 19, 2008
  23. Feb 16, 2008
  24. Feb 15, 2008
  25. Feb 14, 2008
  26. Feb 12, 2008
  27. Feb 08, 2008
  28. Feb 07, 2008
Loading