| 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. */
|
|
|