Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Unified Diff: gm/gmmain.cpp

Issue 343583005: Add basic stacktrace handler using libunwind. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: wimpy linux Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dm/DM.cpp ('k') | gyp/bench.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/gmmain.cpp
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index 37237695c04a60f02c79a96d88bfd11823df5ee5..f4cd2c1da7ce29aac64bbfddc00d89fe80d3af47 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -17,6 +17,7 @@
#include "gm_error.h"
#include "gm_expectations.h"
#include "system_preferences.h"
+#include "CrashHandler.h"
#include "SkBitmap.h"
#include "SkColorPriv.h"
#include "SkCommandLineFlags.h"
@@ -2229,6 +2230,7 @@ static bool parse_flags_jpeg_quality() {
int tool_main(int argc, char** argv);
int tool_main(int argc, char** argv) {
+ SetupCrashHandler();
SkString usage;
usage.printf("Run the golden master tests.\n");
« no previous file with comments | « dm/DM.cpp ('k') | gyp/bench.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698