Skip to content
  1. Aug 28, 2013
    • Argyrios Kyrtzidis's avatar
      [BumpPtrAllocator] Move DefaultSlabAllocator to a member of BumpPtrAllocator,... · aae63a0c
      Argyrios Kyrtzidis authored
      [BumpPtrAllocator] Move DefaultSlabAllocator to a member of BumpPtrAllocator, instead of a static variable.
      
      The problem with having DefaultSlabAllocator being a global static is that it is undefined if BumpPtrAllocator
      will be usable during global initialization because it is not guaranteed that DefaultSlabAllocator will be
      initialized before BumpPtrAllocator is created and used.
      
      llvm-svn: 189433
      aae63a0c
  2. Feb 21, 2013
  3. Feb 04, 2013
    • Evgeniy Stepanov's avatar
      More MSan/ASan annotations. · 1f5a7149
      Evgeniy Stepanov authored
      This change lets us bootstrap LLVM/Clang under ASan and MSan. It contains
      fixes for 2 issues:
      
      - X86JIT reads return address from stack, which MSan does not know is
        initialized.
      - bugpoint tests run binaries with RLIMIT_AS. This does not work with certain
        Sanitizers.
      
      We are no longer including config.h in Compiler.h with this change.
      
      llvm-svn: 174306
      1f5a7149
  4. Jan 31, 2013
  5. Dec 03, 2012
    • Chandler Carruth's avatar
      Use the new script to sort the includes of every file under lib. · ed0881b2
      Chandler Carruth authored
      Sooooo many of these had incorrect or strange main module includes.
      I have manually inspected all of these, and fixed the main module
      include to be the nearest plausible thing I could find. If you own or
      care about any of these source files, I encourage you to take some time
      and check that these edits were sensible. I can't have broken anything
      (I strictly added headers, and reordered them, never removed), but they
      may not be the headers you'd really like to identify as containing the
      API being implemented.
      
      Many forward declarations and missing includes were added to a header
      files to allow them to parse cleanly when included first. The main
      module rule does in fact have its merits. =]
      
      llvm-svn: 169131
      ed0881b2
  6. Mar 01, 2012
  7. Apr 19, 2011
  8. Nov 29, 2010
  9. Sep 30, 2010
    • Benjamin Kramer's avatar
      Grow BumpPtrAllocator's slab size dynamically if we allocated many slabs. This · 90086abf
      Benjamin Kramer authored
      reduces the amount of malloc calls and may reduce memory overhead.
      
      Some numbers:
      ASTContext stats, clang -cc1 -disable-free -fsyntax-only Cocoa_h.m
      without dynamic growth                          |  with dynamic growth
      Number of memory regions: 3158                  |  Number of memory regions: 432
      Bytes used: 12333185                            |  Bytes used: 12333185
      Bytes allocated: 12935168                       |  Bytes allocated: 12800000
      Bytes wasted: 601983 (includes alignment, etc)  |  Bytes wasted: 466815 (includes alignment, etc)
      
      ASTContext stats, clang -cc1 -disable-free -fsyntax-only on clang's ASTReader.cpp
      without dynamic growth                          |  with dynamic growth
      Number of memory regions: 10987                 |  Number of memory regions: 551
      Bytes used: 42910356                            |  Bytes used: 42910356
      Bytes allocated: 45002752                       |  Bytes allocated: 44711936
      Bytes wasted: 2092396 (includes alignment, etc) |  Bytes wasted: 1801580 (includes alignment, etc)
      
      llvm-svn: 115151
      90086abf
  10. Apr 13, 2010
  11. Mar 30, 2010
  12. Jan 16, 2010
  13. Oct 26, 2009
  14. Sep 09, 2009
  15. Jul 25, 2009
  16. Jul 24, 2009
  17. Jul 23, 2009
  18. Jul 28, 2008
    • Dan Gohman's avatar
      Fold the useful features of alist and alist_node into ilist, and · 804c95df
      Dan Gohman authored
      a new ilist_node class, and remove them. Unlike alist_node,
      ilist_node doesn't attempt to manage storage itself, so it avoids
      the associated problems, including being opaque in gdb.
      
      Adjust the Recycler class so that it doesn't depend on alist_node.
      Also, change it to use explicit Size and Align parameters, allowing
      it to work when the largest-sized node doesn't have the greatest
      alignment requirement.
      
      Change MachineInstr's MachineMemOperand list from a pool-backed
      alist to a std::list for now.
      
      llvm-svn: 54146
      804c95df
  19. Jul 08, 2008
  20. May 05, 2008
  21. Apr 28, 2008
  22. Dec 29, 2007
  23. Sep 08, 2007
  24. Sep 05, 2007
  25. Feb 23, 2007
  26. Dec 08, 2006
  27. Dec 07, 2006
  28. Nov 26, 2006
  29. Nov 08, 2006
  30. Oct 29, 2006
Loading