llvm /
scudo /
a8fa4b1487b0ee8fc645d2e5b9c2c318d8c87e07 [scudo][standalone] Enable secondary cache release on Fuchsia
I had left this as a TODO, but it turns out it wasn't complicated.
By specifying `MAP_RESIZABLE`, it allows us to keep the VMO which we
can then use for release purposes.
`releasePagesToOS` also had to be called the "proper" way, as Fuchsia
requires the `Offset` field to be correct. This has no impact on
non-Fuchsia platforms.
Differential Revision: https://reviews.llvm.org/D86800
GitOrigin-RevId: 00d9907a7ac86c3aa49c8cbb21a97094b5887ea9
4 files changed