Stability instrumentation: add a Vectored Exception Handler

Desktop / Chromium - manzagop [chromium.org] - 14 June 2017 16:51 EDT

Adds a vectored exception handler that records basic exception information (exception code and address, as well as pc).

Details:- the handler is registered as first handler, but may get bumped due to subsequent registrations- in order for the exception info to be recorded, a thread tracker must already exist

BUG=719026

Review-Url: https://codereview.chromium.org/2927653003 Cr-Commit-Position: refs/heads/master@{#479498}

e17e32d Stability instrumentation: add a Vectored Exception Handler
base/debug/activity_tracker.cc | 6 +
base/debug/activity_tracker.h | 1 +
.../browser/chrome_browser_field_trials_desktop.cc | 3 +
components/browser_watcher/stability_debugging.cc | 50 ++++++++
components/browser_watcher/stability_debugging.h | 4 +
.../stability_debugging_win_unittest.cc | 126 +++++++++++----------
.../browser_watcher/stability_paths_unittest.cc | 73 ++++++++++++
components/browser_watcher/stability_report.proto | 15 ++-
.../browser_watcher/stability_report_extractor.cc | 15 +++
.../stability_report_extractor_unittest.cc | 74 +++++++++---
10 files changed, 292 insertions(+), 75 deletions(-)

Upstream: git.chromium.org


  • Share