ThreadWatcher - disable optimizations for ThreadWatcher block of
commitdbbe24a0e71c80f534fdc5d507cc4eeb4431f567
authorrtenneti <rtenneti@chromium.org>
Sat, 22 Nov 2014 00:38:38 +0000 (21 16:38 -0800)
committerCommit bot <commit-bot@chromium.org>
Sat, 22 Nov 2014 00:39:07 +0000 (22 00:39 +0000)
tree4403aa92728ab9ec79a27a513776640bcd8033e4
parentb709ad84c6002b17b1dfa57f811539f26f51f4cb
ThreadWatcher - disable optimizations for ThreadWatcher block of
functions so the compiler doesn't merge them all together.

rvargas and I want to experiment if this would help us to get better
callstacks in crash dumps.

From wfh@: out of curiosity any idea on why we didn't get the full call
           stack in dump file?

R=rvargas@chromium.org
BUG=399438

Review URL: https://codereview.chromium.org/741273002

Cr-Commit-Position: refs/heads/master@{#305329}
chrome/browser/metrics/thread_watcher.cc
chrome/browser/metrics/thread_watcher_report_hang.cc [new file with mode: 0644]
chrome/browser/metrics/thread_watcher_report_hang.h [new file with mode: 0644]
chrome/chrome_browser.gypi