aboutsummaryrefslogtreecommitdiff
path: root/samplecode/SampleAndroidShadows.cpp
diff options
context:
space:
mode:
authorMike Klein <mtklein@chromium.org>2017-03-23 18:36:39 -0400
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2017-03-24 15:55:50 +0000
commit61e990297a5c47a82321994e8a34ea56e3137f24 (patch)
tree09b907929bbc6c2879e682dd7ec790d89a51fcb8 /samplecode/SampleAndroidShadows.cpp
parente5f5bf5175e426ebb6aa234f4387831c898f20ad (diff)
ok: basic crash handling and stack trace dumps
This seems to work pretty nicely for each engine in the expected case of few crashes. The serial and thread engines just dump the first crash stack to stderr before dying, while the fork engine saves all crashes to a temporary file, then prints that to stderr once everything's finished. I'm not sold on this TLS solution as being the best way to know what was running when we crashed, but it's better than printing nothing. Change-Id: I0aca66529301b1ad9bd51ec728848817586c606d Reviewed-on: https://skia-review.googlesource.com/10102 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'samplecode/SampleAndroidShadows.cpp')
0 files changed, 0 insertions, 0 deletions