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

Unified Diff: third_party/crashpad/crashpad/util/mach/exception_types_test.cc

Issue 2679313002: Update Crashpad to 88442dd5788bf7836ab013939cca4a4683560cb0 (Closed)
Patch Set: Created 3 years, 10 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
Index: third_party/crashpad/crashpad/util/mach/exception_types_test.cc
diff --git a/third_party/crashpad/crashpad/util/mach/exception_types_test.cc b/third_party/crashpad/crashpad/util/mach/exception_types_test.cc
index 7ecdd252022c420ab7635144601b0592e6331aec..4175c63799c4505342f9f1e1ae25b54e6edfd55c 100644
--- a/third_party/crashpad/crashpad/util/mach/exception_types_test.cc
+++ b/third_party/crashpad/crashpad/util/mach/exception_types_test.cc
@@ -57,7 +57,13 @@ TEST(ExceptionTypes, ExcCrashRecoverOriginalException) {
{0x0700080, EXC_SYSCALL, 128, 0},
{0x0706000, EXC_SYSCALL, 0x6000, 0},
{0x3000000, 0, 0, SIGQUIT},
+ {0x4000000, 0, 0, SIGILL},
+ {0x5000000, 0, 0, SIGTRAP},
{0x6000000, 0, 0, SIGABRT},
+ {0x7000000, 0, 0, SIGEMT},
+ {0x8000000, 0, 0, SIGFPE},
+ {0xa000000, 0, 0, SIGBUS},
+ {0xb000000, 0, 0, SIGSEGV},
{0xc000000, 0, 0, SIGSYS},
{0, 0, 0, 0},
};
@@ -181,7 +187,13 @@ TEST(ExceptionTypes, ExceptionCodeForMetrics) {
#define ENCODE_EXC_CRASH_SIGNAL(signal) \
{ EXC_CRASH, (((signal) & 0xff) << 24), (EXC_CRASH << 16) | (signal) }
ENCODE_EXC_CRASH_SIGNAL(SIGQUIT),
+ ENCODE_EXC_CRASH_SIGNAL(SIGILL),
+ ENCODE_EXC_CRASH_SIGNAL(SIGTRAP),
ENCODE_EXC_CRASH_SIGNAL(SIGABRT),
+ ENCODE_EXC_CRASH_SIGNAL(SIGEMT),
+ ENCODE_EXC_CRASH_SIGNAL(SIGFPE),
+ ENCODE_EXC_CRASH_SIGNAL(SIGBUS),
+ ENCODE_EXC_CRASH_SIGNAL(SIGSEGV),
ENCODE_EXC_CRASH_SIGNAL(SIGSYS),
#undef ENCODE_EXC_CRASH_SIGNAL

Powered by Google App Engine
This is Rietveld 408576698