aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/AllocatorTest.cpp
AgeCommit message (Expand)AuthorFilesLines
2014-09-07Try to unflake AllocatorTest.TestAlignmentPastSlabHans Wennborg1-3/+4
2014-09-07BumpPtrAllocator: do the size check without moving any pointersHans Wennborg1-0/+12
2014-09-02BumpPtrAllocator: use uintptr_t when aligning addresses to avoid undefined be...Hans Wennborg1-1/+1
2014-08-19BumpPtrAllocator: don't accept 0 for the alignment parameterHans Wennborg1-14/+14
2014-08-17BumpPtrAllocator: remove 'no slabs allocated yet' checkHans Wennborg1-1/+1
2014-04-16[Allocator] Make BumpPtrAllocator movable and move assignable.Chandler Carruth1-0/+15
2014-04-15[Allocator] Finally, finish nuking the redundant code that led me hereChandler Carruth1-1/+1
2014-04-14[Allocator] Make the underlying allocator a template instead of anChandler Carruth1-9/+10
2014-04-14[Allocator] Switch the BumpPtrAllocator to use a vector of pointers toChandler Carruth1-16/+18
2014-03-30[Allocator] Lift the slab size and size threshold into templateChandler Carruth1-1/+1
2014-03-30[Allocator] Simplify unittests by using the default size parameters inChandler Carruth1-5/+5
2014-02-05Fix layering StringRef copy using BumpPtrAllocator.Nick Kledzik1-28/+0
2014-01-28Add BumpPtrAllocator::allocateCopy() utilitiesNick Kledzik1-0/+28
2012-12-04Sort the #include lines for unittest/...Chandler Carruth1-1/+0
2012-03-01BumpPtrAllocator: Make sure threshold cannot be initialized with a value smal...Benjamin Kramer1-1/+1
2012-03-01If BumpPtrAllocator is requested to allocate a size that exceeds the slab size,Argyrios Kyrtzidis1-0/+8
2010-03-01Spelling fixes.Dan Gohman1-1/+1
2009-08-12Fix unit test on FreeBSD. We need to make sure there is enough space to save ...Benjamin Kramer1-1/+1
2009-07-25Added a test and fixed a bug in BumpPtrAllocator relating to large alignmentReid Kleckner1-0/+48
2009-07-23Re-committing changes from r76825 to BumpPtrAllocator with a fix and tests forReid Kleckner1-0/+95
2009-07-23Reverting r76825 and r76828, since they caused clang runtime errors and some ...Reid Kleckner1-61/+0
2009-07-23Parameterize the BumpPtrAllocator over a slab allocator. It defaults to usingReid Kleckner1-0/+61