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

Unified Diff: src/platform/crash/crash_reporter.cc

Issue 2128004: Adding in-process crash dumping library and crash uploader (Closed) Base URL: ssh://git@chromiumos-git//chromeos
Patch Set: respond to review and add another test Created 10 years, 7 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 | « src/platform/crash/crash_dumper.cc ('k') | src/platform/crash/crash_sender » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/crash/crash_reporter.cc
diff --git a/src/platform/crash/crash_reporter.cc b/src/platform/crash/crash_reporter.cc
index 15b9687061cb632fa3543eb3f2f9b8b8e0f9ac41..3112fd384a6569d0988c2a20007ae49f5320315e 100644
--- a/src/platform/crash/crash_reporter.cc
+++ b/src/platform/crash/crash_reporter.cc
@@ -12,12 +12,14 @@
#include "gflags/gflags.h"
#include "metrics/metrics_library.h"
+#pragma GCC diagnostic ignored "-Wstrict-aliasing"
DEFINE_bool(init, false, "Initialize crash logging");
DEFINE_bool(clean_shutdown, false, "Signal clean shutdown");
DEFINE_string(exec, "", "Executable name crashed");
DEFINE_int32(pid, -1, "Crashing PID");
DEFINE_int32(signal, -1, "Signal causing crash");
DEFINE_bool(unclean_check, true, "Check for unclean shutdown");
+#pragma GCC diagnostic error "-Wstrict-aliasing"
static const char kCrashCounterHistogram[] = "Logging.CrashCounter";
static const char kUncleanShutdownFile[] =
« no previous file with comments | « src/platform/crash/crash_dumper.cc ('k') | src/platform/crash/crash_sender » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698