summaryrefslogtreecommitdiff
path: root/include/onlineupdate/mozilla/Attributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/onlineupdate/mozilla/Attributes.h')
-rw-r--r--include/onlineupdate/mozilla/Attributes.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/onlineupdate/mozilla/Attributes.h b/include/onlineupdate/mozilla/Attributes.h
index 6c2cc02892c1..74b77a38d082 100644
--- a/include/onlineupdate/mozilla/Attributes.h
+++ b/include/onlineupdate/mozilla/Attributes.h
@@ -245,42 +245,42 @@
#endif
/*
- * MOZ_ASAN_BLACKLIST is a macro to tell AddressSanitizer (a compile-time
+ * MOZ_ASAN_DENYLIST is a macro to tell AddressSanitizer (a compile-time
* instrumentation shipped with Clang and GCC) to not instrument the annotated
* function. Furthermore, it will prevent the compiler from inlining the
- * function because inlining currently breaks the blacklisting mechanism of
+ * function because inlining currently breaks the denylisting mechanism of
* AddressSanitizer.
*/
#if defined(__has_feature)
# if __has_feature(address_sanitizer)
-# define MOZ_HAVE_ASAN_BLACKLIST
+# define MOZ_HAVE_ASAN_DENYLIST
# endif
#elif defined(__GNUC__)
# if defined(__SANITIZE_ADDRESS__)
-# define MOZ_HAVE_ASAN_BLACKLIST
+# define MOZ_HAVE_ASAN_DENYLIST
# endif
#endif
-#if defined(MOZ_HAVE_ASAN_BLACKLIST)
-# define MOZ_ASAN_BLACKLIST MOZ_NEVER_INLINE __attribute__((no_sanitize_address))
+#if defined(MOZ_HAVE_ASAN_DENYLIST)
+# define MOZ_ASAN_DENYLIST MOZ_NEVER_INLINE __attribute__((no_sanitize_address))
#else
-# define MOZ_ASAN_BLACKLIST /* nothing */
+# define MOZ_ASAN_DENYLIST /* nothing */
#endif
/*
- * MOZ_TSAN_BLACKLIST is a macro to tell ThreadSanitizer (a compile-time
+ * MOZ_TSAN_DENYLIST is a macro to tell ThreadSanitizer (a compile-time
* instrumentation shipped with Clang) to not instrument the annotated function.
* Furthermore, it will prevent the compiler from inlining the function because
- * inlining currently breaks the blacklisting mechanism of ThreadSanitizer.
+ * inlining currently breaks the denylisting mechanism of ThreadSanitizer.
*/
#if defined(__has_feature)
# if __has_feature(thread_sanitizer)
-# define MOZ_TSAN_BLACKLIST MOZ_NEVER_INLINE __attribute__((no_sanitize_thread))
+# define MOZ_TSAN_DENYLIST MOZ_NEVER_INLINE __attribute__((no_sanitize_thread))
# else
-# define MOZ_TSAN_BLACKLIST /* nothing */
+# define MOZ_TSAN_DENYLIST /* nothing */
# endif
#else
-# define MOZ_TSAN_BLACKLIST /* nothing */
+# define MOZ_TSAN_DENYLIST /* nothing */
#endif
/**