We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97c4c59 commit 4d19c7eCopy full SHA for 4d19c7e
llvm/include/llvm/ADT/FunctionExtras.h
@@ -317,8 +317,7 @@ template <typename ReturnT, typename... ParamTs> class UniqueFunctionBase {
317
// Clear the old callback and inline flag to get back to as-if-null.
318
RHS.CallbackAndInlineFlag = {};
319
320
-#if !defined(NDEBUG) && \
321
- !(defined(ADDRESS_SANITIZER) || defined(__SANITIZE_ADDRESS__))
+#if !defined(NDEBUG) && !defined(LLVM_ADDRESS_SANITIZER_BUILD)
322
// In debug builds without ASan, we also scribble across the rest of the
323
// storage. AddressSanitizer (ASAN) disables scribbling to prevent
324
// overwriting poisoned objects (e.g., annotated short strings).
0 commit comments