[compiler-rt] 78c6d2f - [NFC][sanitizer] Fix build on Windows
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 13 09:06:09 PDT 2023
Author: Vitaly Buka
Date: 2023-06-13T09:06:02-07:00
New Revision: 78c6d2faa0093b07f01f3c841277b7ea8eae56db
URL: https://github.com/llvm/llvm-project/commit/78c6d2faa0093b07f01f3c841277b7ea8eae56db
DIFF: https://github.com/llvm/llvm-project/commit/78c6d2faa0093b07f01f3c841277b7ea8eae56db.diff
LOG: [NFC][sanitizer] Fix build on Windows
Macro was defined twice.
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h b/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
index 8d414b814478e..552d65067944f 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
@@ -216,7 +216,6 @@ typedef u64 tid_t;
# define UNLIKELY(x) (x)
# define PREFETCH(x) /* _mm_prefetch(x, _MM_HINT_NTA) */ (void)0
# define WARN_UNUSED_RESULT
-# define UNINITIALIZED
#else // _MSC_VER
# define ALWAYS_INLINE inline __attribute__((always_inline))
# define ALIAS(x) __attribute__((alias(SANITIZER_STRINGIFY(x))))
More information about the llvm-commits
mailing list