[llvm-commits] Changes to BumpPtrAllocator so it can be used for JITed function stubs and globals

Reid Kleckner rnk at mit.edu
Mon Jul 20 14:26:31 PDT 2009


This parameterizes the BumpPtrAllocator over a slab allocation
strategy.  It defaults to using malloc, and there should be no
functional changes to other code.  It passes make check.  These
changes are needed so I don't have to write a second bump allocator in
the JIT memory manager, which can't use malloc since the memory must
be marked executable.  Please review!

Thanks,
Reid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Allocator.diff
Type: text/x-diff
Size: 12175 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090720/edcaf89f/attachment.diff>


More information about the llvm-commits mailing list