commit | ec578a0d9e9b26b13d7c845f89bf4d975a3f592a | [log] [tgz] |
---|---|---|
author | Mitch Phillips <31459023+hctim@users.noreply.github.com> | Tue May 11 22:17:19 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue May 11 22:17:19 2021 +0000 |
tree | 5e1e85016be16b395eef3d2c25a902ee8fa01c58 | |
parent | 4ebf57df6a27112fce46f2e5440f7bb7ef8e7916 [diff] | |
parent | 63773cb41b50d7c331d5da47d04cdf7a497ff8ce [diff] |
[Scudo] Use GWP-ASan's aligned allocations and fixup postalloc hooks. am: 875cd44ff6 am: 63773cb41b Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1703605 Change-Id: I42bd2531ed8d07d4b0a4e4af1e8f249689b9dc23
diff --git a/gwp_asan/common.h b/gwp_asan/common.h index ee8f9d1..7ce367e 100644 --- a/gwp_asan/common.h +++ b/gwp_asan/common.h
@@ -83,6 +83,8 @@ // crash handler. This, in conjunction with the Metadata array, forms the entire // set of information required for understanding a GWP-ASan crash. struct AllocatorState { + constexpr AllocatorState() {} + // Returns whether the provided pointer is a current sampled allocation that // is owned by this pool. GWP_ASAN_ALWAYS_INLINE bool pointerIsMine(const void *Ptr) const {