0014.patch (1282B)
1 From: Michael Froman <mfroman@mozilla.com> 2 Date: Thu, 10 Jul 2025 10:39:00 -0500 3 Subject: Bug 1978462 - disable ABSL_HAVE_LEAK_SANITIZER due to missing symbols 4 (like __lsan_ignore_object) 5 6 Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/fdbec58643d95ef27963b070e162931c6354d1e8 7 --- 8 abseil-cpp/absl/base/config.h | 2 ++ 9 1 file changed, 2 insertions(+) 10 11 diff --git a/abseil-cpp/absl/base/config.h b/abseil-cpp/absl/base/config.h 12 index 7ae83241314..753bce47007 100644 13 --- a/abseil-cpp/absl/base/config.h 14 +++ b/abseil-cpp/absl/base/config.h 15 @@ -714,6 +714,7 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' || 16 // LeakSanitizer is available does not mean it is active. Use the 17 // always-available run-time interface in //absl/debugging/leak_check.h for 18 // interacting with LeakSanitizer. 19 +#if 0 // mozilla - builds fail missing lsan symbols like __lsan_ignore_object 20 #ifdef ABSL_HAVE_LEAK_SANITIZER 21 #error "ABSL_HAVE_LEAK_SANITIZER cannot be directly set." 22 #elif defined(LEAK_SANITIZER) 23 @@ -728,6 +729,7 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' || 24 // GCC or Clang using the LeakSanitizer integrated into AddressSanitizer. 25 #define ABSL_HAVE_LEAK_SANITIZER 1 26 #endif 27 +#endif 28 29 // ABSL_HAVE_CLASS_TEMPLATE_ARGUMENT_DEDUCTION 30 //