Skip to content
Snippets Groups Projects
  1. Apr 05, 2013
    • Jordan Rose's avatar
      [analyzer] Enable destructor inlining by default (c++-inlining=destructors). · b11a9086
      Jordan Rose authored
      This turns on not only destructor inlining, but inlining of constructors
      for types with non-trivial destructors. Per r178516, we will still not
      inline the constructor or destructor of anything that looks like a
      container unless the analyzer-config option 'c++-container-inlining' is
      set to 'true'.
      
      In addition to the more precise path-sensitive model, this allows us to
      catch simple smart pointer issues:
      
        #include <memory>
      
        void test() {
          std::auto_ptr<int> releaser(new int[4]);
        } // memory allocated with 'new[]' should not be deleted with 'delete'
      
      <rdar://problem/12295363>
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178805 91177308-0d34-0410-b5e6-96231b3b80d8
      b11a9086
  2. Apr 03, 2013
  3. Apr 02, 2013
  4. Apr 01, 2013
  5. Mar 28, 2013
  6. Mar 27, 2013
  7. Mar 25, 2013
  8. Mar 22, 2013
  9. Mar 20, 2013
  10. Mar 14, 2013
  11. Mar 13, 2013
  12. Mar 12, 2013
  13. Mar 11, 2013
  14. Mar 07, 2013
  15. Mar 06, 2013
  16. Mar 05, 2013
  17. Mar 04, 2013
  18. Mar 03, 2013
  19. Mar 01, 2013
  20. Feb 28, 2013
  21. Feb 27, 2013
  22. Feb 26, 2013
    • Kostya Serebryany's avatar
      Unify clang/llvm attributes for asan/tsan/msan (Clang part) · 85aee96c
      Kostya Serebryany authored
      These are two related changes (one in llvm, one in clang).
      LLVM: 
      - rename address_safety => sanitize_address (the enum value is the same, so we preserve binary compatibility with old bitcode)
      - rename thread_safety => sanitize_thread
      - rename no_uninitialized_checks -> sanitize_memory
      
      CLANG: 
      - add __attribute__((no_sanitize_address)) as a synonym for __attribute__((no_address_safety_analysis))
      - add __attribute__((no_sanitize_thread))
      - add __attribute__((no_sanitize_memory))
      
      for S in address thread memory
      If -fsanitize=S is present and __attribute__((no_sanitize_S)) is not
      set llvm attribute sanitize_S
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176076 91177308-0d34-0410-b5e6-96231b3b80d8
      85aee96c
  23. Feb 25, 2013
Loading