diff options
author | mtklein <mtklein@chromium.org> | 2016-03-17 10:16:12 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-17 10:16:12 -0700 |
commit | 13bf3396be9f9eef523c5b4be9127b05be626de0 (patch) | |
tree | 1acbf4118da8cb7dff2d88411ac8e1df22964676 /dm | |
parent | 43812e24cbb97208d149f419f0c3f61181ba4126 (diff) |
try to flush stdio in the crash handler
NOTREECHECKS=true
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1808853004
Review URL: https://codereview.chromium.org/1808853004
Diffstat (limited to 'dm')
-rw-r--r-- | dm/DM.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -185,6 +185,7 @@ static std::atomic<bool> in_signal_handler{false}; } info("\n"); print_status(); + fflush(stdout); } // Execute default exception handler... hopefully, exit. return EXCEPTION_EXECUTE_HANDLER; @@ -214,6 +215,7 @@ static std::atomic<bool> in_signal_handler{false}; for (int i = 0; i < count; i++) { info(" %s\n", symbols[i]); } + fflush(stdout); } _Exit(sig); }); |