Index: build/sanitizers/sanitizer_options.cc |
diff --git a/build/sanitizers/sanitizer_options.cc b/build/sanitizers/sanitizer_options.cc |
index 81958f214deab4d5163ffcd0cc29db0572f5cac1..46f70d2936b45e2c1b14493eb6c1cdfa20810e80 100644 |
--- a/build/sanitizers/sanitizer_options.cc |
+++ b/build/sanitizers/sanitizer_options.cc |
@@ -66,13 +66,15 @@ void _sanitizer_options_link_helper() { } |
const char kAsanDefaultOptions[] = |
"legacy_pthread_cond=1 malloc_context_size=5 " |
"symbolize=1 check_printf=1 use_sigaltstack=1 detect_leaks=0 " |
- "strip_path_prefix=/../../ fast_unwind_on_fatal=1"; |
+ "strip_path_prefix=/../../ fast_unwind_on_fatal=1" |
+ "allow_user_segv_handler=1 "; |
#else |
// Default AddressSanitizer options for buildbots and non-official builds. |
-const char *kAsanDefaultOptions = |
+const char* kAsanDefaultOptions = |
"symbolize=1 check_printf=1 use_sigaltstack=1 " |
"detect_leaks=0 strip_path_prefix=/../../ fast_unwind_on_fatal=1 " |
- "detect_stack_use_after_return=1 "; |
+ "detect_stack_use_after_return=1 " |
+ "allow_user_segv_handler=1 "; |
#endif // GOOGLE_CHROME_BUILD |
#elif defined(OS_MACOSX) |