Bug 1768099 - Workaround ASan failures with clang-trunk. r=decoder

Differential Revision: https://phabricator.services.mozilla.com/D146154
This commit is contained in:
Mike Hommey 2022-05-13 00:45:53 +00:00
parent a1a746f5b9
commit 371a1dd4c0

View File

@ -57,6 +57,8 @@
// fast_unwind_on_fatal - Use the fast (frame-pointer-based) stack unwinder
// to print fatal error reports. The slow unwinder doesn't work on Android.
//
// detect_stack_use_after_return=0 - Work around bug 1768099.
//
// intercept_tls_get_addr=0 - Work around
// https://github.com/google/sanitizers/issues/1322 (bug 1635327).
//
@ -76,6 +78,7 @@ extern "C" MOZ_ASAN_BLACKLIST const char* __asan_default_options() {
":malloc_fill_byte=228:free_fill_byte=229"
":handle_sigill=1"
":allocator_may_return_null=1"
":detect_stack_use_after_return=0"
":intercept_tls_get_addr=0";
}