Go to file
Chandler Carruth e24605bbcd [cleanup] Stop specifying size overrides for BumpPtrAllocators.
These don't seem to have any real point. Let's start with
IndexingContext. I can't come up with any conceivable reason to have
many hundereds of thousands of these alive in an address space which
would make the 4x difference in allocated (but unused) memory for the
string scratch buffer a significant memory usage problem.

The EditedSource one is somewhat more surprising. This is an 8x increase
in the memory allocated (but not used) per editted source file. However,
for this to realistically be a problem, you would need to have over half
a million editted source files in a single address space, and even that
would only really have problems on 32-bit Windows where you really only
have 2gb of virtual address space. And what's more important, the fix to
this if it is actually an issue shouldn't be to shrink the allocator's
size, it is to pass a single allocator into *many* edited source file
objects and let them share the memory.

These were the only two uses of custom sized BumpPtrAllocators
(excluding ones in the JIT using a custom allocation strategy) in all of
LLVM, Clang, LLD, LLDB, or Polly. I don't think we actually need this
complexity in the primary BumpPtrAllocator at all and am planning to
remove it.

llvm-svn: 204910
2014-03-27 10:45:22 +00:00
clang [cleanup] Stop specifying size overrides for BumpPtrAllocators. 2014-03-27 10:45:22 +00:00
clang-tools-extra Output messages when clang-tidy applies fix-its. 2014-03-27 10:24:11 +00:00
compiler-rt [asan] add a test case for r204897. 2014-03-27 08:51:32 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Add definition for M_PI_F v3 2014-03-24 20:36:44 +00:00
libcxx [libc++] Teach is_integral, is_[un]signed and make_[un]signed about __[u]int128_t 2014-03-26 19:45:52 +00:00
libcxxabi Simplify. 2014-03-20 01:28:28 +00:00
lld [PECOFF] Avoid C-style cast. 2014-03-26 21:10:40 +00:00
lldb Link in the llvm/lib/ProfileData build product. 2014-03-27 03:03:24 +00:00
llvm [cleanup] Run clang-format over these routines to remove formatting 2014-03-27 09:56:23 +00:00
openmp Revert commit (testing commit hook). 2014-03-04 18:06:04 +00:00
polly Updated test/create_ll.sh to work with old & new clang versions. 2014-03-25 15:50:44 +00:00