Add stack frames when crashing in mojo::DataPipe::DataPipe().
Assertion failures from DataPipe construction should now: (1) Include DataPipe::DataPipe() in the stack trace. (2) Include CrashMojoResourceExhausted() in the stacktrace if the failure was due to MOJO_RESULT_RESOURCE_EXHAUSTION. The goal is to make it easier to bucket incoming crash reports. Crashes due to resource exhaustion are often not actionable. Bug: 921799 Change-Id: I20fcc0a04e01ce7a829d2a1e4644b26c1f8c1139 Reviewed-on: https://chromium-review.googlesource.com/c/1444832Reviewed-by:Ken Rockot <rockot@google.com> Commit-Queue: Eric Roman <eroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#627980}
Showing
Please register or sign in to comment