[PATCH] D61599: [Support] MemoryBlock objects now expose their allocated size in addition to the requested size.

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 11:11:49 PDT 2019


lhames requested changes to this revision.
lhames added a comment.
This revision now requires changes to proceed.

I don't think this is the right solution. MemoryBlock's purpose is to track the allocated memory. What the client does with that memory (including subdividing it) is their business. The client already knows the number of bytes they're requesting, so the fix for fragmentation in SectionMemoryManager should be limited to fixes in SectionMemoryManager.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61599/new/

https://reviews.llvm.org/D61599





More information about the llvm-commits mailing list