commit | 964d4f2c920b16da04766caed4f938fe3b779bd1 | [log] [tgz] |
---|---|---|
author | Dominic Chen <ddchen@apple.com> | Wed Mar 16 13:51:08 2022 -0700 |
committer | Christopher Ferris <cferris@google.com> | Fri Mar 25 12:45:09 2022 -0700 |
tree | 3a57b8ebff944d2400cee371899abb5c0d346251 | |
parent | ace07cf66514e64c9dfa6190e85d997f56681187 [diff] |
[scudo] Don't unmap other low memory pages if mapping doesn't exist Tests can register multiple allocators, but only the first will initialize since it initializes the TSDRegistrySharedT. Then, destruction of subsequent allocator may end up unmapping a nullptr PrimaryBase with non-zero PrimarySize. Differential Revision: https://reviews.llvm.org/D121858 GitOrigin-RevId: 4787e5c34ec8f710f545e33285b7a121eaf05e54 Change-Id: I337ee5b076096c6cfceefcf50fd9aefc8a696f6a