[compiler-rt] 341ee9c - [NFC][asan] Fix Condition annotation after 30bbb73bb448
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 8 19:20:18 PDT 2022
Author: Vitaly Buka
Date: 2022-08-08T19:20:06-07:00
New Revision: 341ee9c0294f368aba83712651d34f6a4bbe92f3
URL: https://github.com/llvm/llvm-project/commit/341ee9c0294f368aba83712651d34f6a4bbe92f3
DIFF: https://github.com/llvm/llvm-project/commit/341ee9c0294f368aba83712651d34f6a4bbe92f3.diff
LOG: [NFC][asan] Fix Condition annotation after 30bbb73bb448
Added:
Modified:
compiler-rt/lib/asan/asan_interceptors_memintrinsics.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/asan/asan_interceptors_memintrinsics.h b/compiler-rt/lib/asan/asan_interceptors_memintrinsics.h
index 13c1eea910d5..178827ab0351 100644
--- a/compiler-rt/lib/asan/asan_interceptors_memintrinsics.h
+++ b/compiler-rt/lib/asan/asan_interceptors_memintrinsics.h
@@ -87,7 +87,7 @@ struct AsanInterceptorContext {
} \
ENSURE_ASAN_INITED(); \
if (LIKELY(flags()->replace_intrin)) { \
- if (UNLIKELY(to != from)) { \
+ if (LIKELY(to != from)) { \
CHECK_RANGES_OVERLAP("memcpy", to, size, from, size); \
} \
ASAN_READ_RANGE(ctx, from, size); \
More information about the llvm-commits
mailing list