summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/asan/asan_interceptors.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/asan/asan_interceptors.cc b/compiler-rt/lib/asan/asan_interceptors.cc
index 4064e689dc1..71ea623caf4 100644
--- a/compiler-rt/lib/asan/asan_interceptors.cc
+++ b/compiler-rt/lib/asan/asan_interceptors.cc
@@ -349,7 +349,7 @@ INTERCEPTOR(int, strcmp, const char *s1, const char *s2) {
INTERCEPTOR(char*, strcpy, char *to, const char *from) { // NOLINT
#if MAC_INTERPOSE_FUNCTIONS
- if (!asan_inited) return REAL(strcpy)(to, from);
+ if (!asan_inited) return REAL(strcpy)(to, from); // NOLINT
#endif
// strcpy is called from malloc_default_purgeable_zone()
// in __asan::ReplaceSystemAlloc() on Mac.
@@ -618,7 +618,7 @@ void InitializeAsanInterceptors() {
ASAN_INTERCEPT_FUNC(memcpy);
} else {
#if !MAC_INTERPOSE_FUNCTIONS
- // If we're using dynamic interceptors on Mac, these two are just plain
+ // If we're using dynamic interceptors on Mac, these two are just plain
// functions.
*(uptr*)&REAL(memcpy) = (uptr)REAL(memmove);
#endif
OpenPOWER on IntegriCloud