summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Phillips <31459023+hctim@users.noreply.github.com>2021-05-11 22:33:59 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-11 22:33:59 +0000
commitd8ce6a5e15b8567d1a4e35e34ba7644b877c9787 (patch)
tree5e1e85016be16b395eef3d2c25a902ee8fa01c58
parent839726c3ac00241ddcd0f8d62efd9e3e2e5da7be (diff)
parentec578a0d9e9b26b13d7c845f89bf4d975a3f592a (diff)
downloadgwp_asan-android12-qpr3-release.tar.gz
Original change: https://android-review.googlesource.com/c/platform/external/gwp_asan/+/1703605 Change-Id: I05cf2bfca592d392475e8cdcd47eaf5cf0f05bf5
-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 {