From 30e6e2af14e84216b1c113fd7500d0822bc81daa Mon Sep 17 00:00:00 2001 From: mtklein Date: Wed, 18 Jun 2014 11:44:15 -0700 Subject: Add basic stacktrace handler using libunwind. This means we will all have to apt-get install libunwind8-dev on Linux. Mac comes with everything we need already. BUG=skia: R=reed@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/343583005 --- gm/gmmain.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gm') diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp index 0be3454d82..42aed548d1 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" @@ -2219,6 +2220,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"); -- cgit v1.2.3