If BumpPtrAllocator is requested to allocate a size that exceeds the slab size,
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 1 Mar 2012 20:36:32 +0000 (20:36 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 1 Mar 2012 20:36:32 +0000 (20:36 +0000)
commit680458275fd6c05ce3683d86483eff1254d0df80
tree41916d8fc358650bb6939fd2951995d3e9e46a95
parentfa2ab3e4abcecebb8d9a6d8822d8b4beef02bd74
If BumpPtrAllocator is requested to allocate a size that exceeds the slab size,
increase the slab size.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151834 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Allocator.cpp
unittests/Support/AllocatorTest.cpp