#
a05a221e |
| 30-Mar-2014 |
Chandler Carruth <chandlerc@gmail.com> |
[Allocator] Simplify unittests by using the default size parameters in more places.
llvm-svn: 205141
|
#
4d6d9812 |
| 05-Feb-2014 |
Nick Kledzik <kledzik@apple.com> |
Fix layering StringRef copy using BumpPtrAllocator.
Now to copy a string into a BumpPtrAllocator and get a StringRef to the copy:
StringRef myCopy = myStr.copy(myAllocator);
llvm-svn: 200885
|
#
15bcb9dc |
| 28-Jan-2014 |
Nick Kledzik <kledzik@apple.com> |
Add BumpPtrAllocator::allocateCopy() utilities
Makes it easy to use BumpPtrAllocator to make a copy of StringRef strings.
llvm-svn: 200331
|
Revision tags: llvmorg-3.4.0, llvmorg-3.4.0-rc3, llvmorg-3.4.0-rc2, llvmorg-3.4.0-rc1, llvmorg-3.3.1-rc1, llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1, llvmorg-3.2.0, llvmorg-3.2.0-rc3 |
|
#
130cec21 |
| 04-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort the #include lines for unittest/...
llvm-svn: 169250
|
Revision tags: llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1, llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1 |
|
#
f7e02a0c |
| 01-Mar-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
BumpPtrAllocator: Make sure threshold cannot be initialized with a value smaller than the slab size.
This replaces r151834 with a simpler fix.
llvm-svn: 151842
|
#
16558f4d |
| 01-Mar-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
If BumpPtrAllocator is requested to allocate a size that exceeds the slab size, increase the slab size.
llvm-svn: 151834
|
Revision tags: llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1, llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1, llvmorg-2.8.0, llvmorg-2.8.0-rc3, llvmorg-2.8.0-rc2, llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0, llvmorg-2.7.0 |
|
#
01b443fd |
| 01-Mar-2010 |
Dan Gohman <gohman@apple.com> |
Spelling fixes.
llvm-svn: 97454
|
Revision tags: llvmorg-2.6.0 |
|
#
9ace8b57 |
| 12-Aug-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
Fix unit test on FreeBSD. We need to make sure there is enough space to save the pointer even if the memory returned from malloc was already aligned.
llvm-svn: 78805
|
#
4b1f2f47 |
| 25-Jul-2009 |
Reid Kleckner <reid@kleckner.net> |
Added a test and fixed a bug in BumpPtrAllocator relating to large alignment values. Hopefully this fixes PR4622.
llvm-svn: 77088
|
#
c2d882dd |
| 23-Jul-2009 |
Reid Kleckner <reid@kleckner.net> |
Re-committing changes from r76825 to BumpPtrAllocator with a fix and tests for an off-by-one error.
llvm-svn: 76891
|
#
92167322 |
| 23-Jul-2009 |
Reid Kleckner <reid@kleckner.net> |
Reverting r76825 and r76828, since they caused clang runtime errors and some build failure involving memset.
llvm-svn: 76838
|
#
5bd6105d |
| 23-Jul-2009 |
Reid Kleckner <reid@kleckner.net> |
Parameterize the BumpPtrAllocator over a slab allocator. It defaults to using malloc, so there should be no functional changes to other code.
These changes are necessary since I have plans to use t
Parameterize the BumpPtrAllocator over a slab allocator. It defaults to using malloc, so there should be no functional changes to other code.
These changes are necessary since I have plans to use this allocator in the JIT memory manager, and it needs a special allocator.
I also added some tests which helped me pinpoint some bugs.
llvm-svn: 76825
show more ...
|