summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Phillips <31459023+hctim@users.noreply.github.com>2021-05-11 22:50:12 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-11 22:50:12 +0000
commit6256e4eb45e50b090fc125b60c19d7847014994c (patch)
tree5e1e85016be16b395eef3d2c25a902ee8fa01c58
parentc75d8271e90a39c3e35cfdff38645d25b29c30e7 (diff)
parentd8ce6a5e15b8567d1a4e35e34ba7644b877c9787 (diff)
downloadgwp_asan-android12L-d2-s7-release.tar.gz
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1703605 Change-Id: I9d14cf3c29e7de8876bc503909a10df2fb53a66f
-rw-r--r--gwp_asan/common.h2
1 files changed, 2 insertions, 0 deletions
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 @@ struct AllocationMetadata {
// 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 {