Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BumpPtrAllocator: Make sure threshold cannot be initialized with a value ↵ | Benjamin Kramer | 2012-03-01 | 1 | -1/+1 |
| | | | | | | | | smaller than the slab size. This replaces r151834 with a simpler fix. llvm-svn: 151842 | ||||
* | If BumpPtrAllocator is requested to allocate a size that exceeds the slab size, | Argyrios Kyrtzidis | 2012-03-01 | 1 | -0/+8 |
| | | | | | | increase the slab size. llvm-svn: 151834 | ||||
* | Spelling fixes. | Dan Gohman | 2010-03-01 | 1 | -1/+1 |
| | | | | llvm-svn: 97454 | ||||
* | Fix unit test on FreeBSD. We need to make sure there is enough space to save ↵ | Benjamin Kramer | 2009-08-12 | 1 | -1/+1 |
| | | | | | | the pointer even if the memory returned from malloc was already aligned. llvm-svn: 78805 | ||||
* | Added a test and fixed a bug in BumpPtrAllocator relating to large alignment | Reid Kleckner | 2009-07-25 | 1 | -0/+48 |
| | | | | | | values. Hopefully this fixes PR4622. llvm-svn: 77088 | ||||
* | Re-committing changes from r76825 to BumpPtrAllocator with a fix and tests for | Reid Kleckner | 2009-07-23 | 1 | -0/+95 |
| | | | | | | an off-by-one error. llvm-svn: 76891 | ||||
* | Reverting r76825 and r76828, since they caused clang runtime errors and some ↵ | Reid Kleckner | 2009-07-23 | 1 | -61/+0 |
| | | | | | | build failure involving memset. llvm-svn: 76838 | ||||
* | Parameterize the BumpPtrAllocator over a slab allocator. It defaults to using | Reid Kleckner | 2009-07-23 | 1 | -0/+61 |
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 |