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

Unified Diff: tests/trusted_crash/osx_crash_filter/crash_filter_test.c

Issue 12207165: Mac x86_64: Mach exception support (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 7 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: tests/trusted_crash/osx_crash_filter/crash_filter_test.c
===================================================================
--- tests/trusted_crash/osx_crash_filter/crash_filter_test.c (revision 10790)
+++ tests/trusted_crash/osx_crash_filter/crash_filter_test.c (working copy)
@@ -15,6 +15,7 @@
#include "native_client/src/trusted/service_runtime/nacl_all_modules.h"
#include "native_client/src/trusted/service_runtime/nacl_app.h"
#include "native_client/src/trusted/service_runtime/osx/crash_filter.h"
+#include "native_client/src/trusted/service_runtime/osx/mach_thread_map.h"
#include "native_client/src/trusted/service_runtime/sel_ldr.h"
@@ -119,6 +120,7 @@
struct NaClApp app;
if (argc == 2 && strcmp(argv[1], "early_trusted") == 0) {
+ NaClInitMachThreadMap();
g_expect_untrusted = 0;
RegisterExceptionHandler();
/* Cause a crash. */

Powered by Google App Engine
This is Rietveld 408576698