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
This commit is contained in:
parent
43812e24cb
commit
13bf3396be
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user