Chromium Code Reviews| Index: src/trusted/service_runtime/sel_main_chrome.c |
| =================================================================== |
| --- src/trusted/service_runtime/sel_main_chrome.c (revision 8264) |
| +++ src/trusted/service_runtime/sel_main_chrome.c (working copy) |
| @@ -33,6 +33,10 @@ |
| #include "native_client/src/trusted/service_runtime/sel_qualify.h" |
| #include "native_client/src/trusted/service_runtime/win/exception_patch/ntdll_patch.h" |
| +#ifdef ADDRESS_SANITIZER |
|
Mark Seaborn
2012/04/19 16:16:39
Can you add a comment to explain what this is for,
|
| +extern __asan_disable_signal_handlers(); |
|
Mark Seaborn
2012/04/19 16:16:39
Surely "void __asan_disable_signal_handlers(void);
|
| +#endif |
| + |
| static int const kSrpcFd = 5; |
| struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void) { |
| @@ -147,6 +151,9 @@ |
| * channel is set up, and then bail out. |
| */ |
| +#ifdef ADDRESS_SANITIZER |
| + __asan_disable_signal_handlers(); |
|
Mark Seaborn
2012/04/19 16:16:39
Can you add a comment to explain what this is for,
|
| +#endif |
| /* |
| * Ensure this operating system platform is supported. |
| */ |