[PATCH] D39300: [SectionMemoryManager] Abstract out mmap, munmap, mprotect even more ; NFC

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 28 01:38:09 PDT 2017


lhames added a comment.

Out of interest, what’s the use case for this? I’d have expected sys::Memory to be good enough for block-based allocation (though there’s the known issue with PaX on BSD that I need to fix), and using a non block-based underlying allocator seems like it’d risk unnecessary fragmentation.


https://reviews.llvm.org/D39300





More information about the llvm-commits mailing list