mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-29 00:32:35 +08:00
4dbd8c75d5
-ftrivial-auto-var-init=pattern automatically initializes all variables with a pattern. This revealed two issues: 1. Unitialized read of field from CrashpadInfoClientOptions. 2. The PC distance check in TestCaptureContext (due to additional instrumentation, the distance is now 76 on x86-64 and 92 on aarch64). Change-Id: I528e5f21c70d2849c9300776da783fde59411e9e Reviewed-on: https://chromium-review.googlesource.com/c/1471691 Reviewed-by: Mark Mentovai <mark@chromium.org> Reviewed-by: Nico Weber <thakis@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org>