The more tests are added, the more we are limited by the size of the
address space on 32-bit. Implement unmapTestOnly all around (like it
is in sanitzer_common) to be able to free up some memory.
This is not intended to be a proper "destructor" for an allocator, but
allows us to not fail due to having no memory left.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCRT Compiler Runtime
- Build Status
Buildable 33220 Build 33219: arc lint + arc unit
Event Timeline
lib/scudo/standalone/primary32.h | ||
---|---|---|
93 | It is indeed a valid address. For the 32-bit primary, the address space is split in potential regions of RegionSize bytes, that we index via a one or two level bytemap. | |
lib/scudo/standalone/tests/primary_test.cc | ||
25–29 | Good point thanks, I somehow thought it would still end up deleting the original pointer with a custom deleter. I will correct those. |
This looks incorrect. Is I * RegionSize a valid address?