Skip to content
  1. Oct 15, 2009
  2. Oct 14, 2009
  3. Oct 13, 2009
  4. Oct 12, 2009
  5. Oct 09, 2009
  6. Oct 08, 2009
  7. Oct 06, 2009
  8. Oct 05, 2009
  9. Oct 01, 2009
  10. Sep 29, 2009
  11. Sep 26, 2009
  12. Sep 25, 2009
  13. Sep 24, 2009
  14. Sep 22, 2009
  15. Sep 21, 2009
  16. Sep 19, 2009
  17. Sep 18, 2009
    • Ted Kremenek's avatar
      Introduce caching of diagnostics in BugReporter. This provides extra · 82f7f9c0
      Ted Kremenek authored
      pruning of diagnostics that may be emitted multiple times.  This is
      accomplished by adding FoldingSet profiling support to PathDiagnostic,
      and then having BugReporter record what diagnostics have been issued.
      
      This was motived to a serious bug introduced by moving the
      'divide-by-zero' checking outside of GRExprEngine into a separate
      'Checker' class.  When analyzing code using the '-fobjc-gc' option, a
      given function would be analyzed twice, but the second time various
      "internal checks" would be disabled to avoid emitting multiple
      diagnostics (e.g., "null dereference") for the same issue.  The
      problem is that such checks also effect path pruning and don't just
      emit diagnostics.  This resulted in an assertion failure involving a
      real divide-by-zero in some analyzed code where we would get an
      assertion failure in APInt because the 'DivZero' check was disabled
      and didn't prune the logic that resulted in the divide-by-zero in the
      analyzer.
      
      The implemented solution is somewhat of a hack, and may not perform
      extremely well.  This will need to be cleaned up over time.
      
      As a regression test, 'misc-ps.m' has been modified so that its tests
      are run using -fobjc-gc to test this diagnostic pruning behavior.
      
      llvm-svn: 82198
      82f7f9c0
  18. Sep 17, 2009
    • Daniel Dunbar's avatar
      PCH: When writing PCH files, tweak the predicate function deciding whether to... · 5bb5ec5b
      Daniel Dunbar authored
      PCH: When writing PCH files, tweak the predicate function deciding whether to mark a decl as "external" to be closer to reality. 
      
      This still isn't perfect, but I believe it is conservatively accurate at marking decls which IRgen needs to see, while still keeping the "deserialization footprint" on Cocoa.h.
      
      llvm-svn: 82112
      5bb5ec5b
    • Daniel Dunbar's avatar
      PCH: When deserializing an explicit "external definition", don't pass it to... · 865c2a7f
      Daniel Dunbar authored
      PCH: When deserializing an explicit "external definition", don't pass it to HandleTopLevelDecl -- this is already being done inside the reader.
      
      This is something of a hack, since whether the reader actually did this depends on the "isConsumerInterestedIn" predicate. I think we need to rework how this works, but I need to discuss with Doug.
      
      llvm-svn: 82111
      865c2a7f
  19. Sep 16, 2009
  20. Sep 13, 2009
Loading