Skip to content

Commit

Permalink
[sanitizer] Fix typo in log messages
Browse files Browse the repository at this point in the history
Fix typo in log messages

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D91492
  • Loading branch information
shpark authored and vitalybuka committed Nov 18, 2020
1 parent 50f12ad commit 096bd9b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions compiler-rt/lib/asan/asan_interceptors.h
Expand Up @@ -134,10 +134,10 @@ DECLARE_REAL(uptr, strnlen, const char *s, uptr maxlen)
DECLARE_REAL(char*, strstr, const char *s1, const char *s2)

#if !SANITIZER_MAC
#define ASAN_INTERCEPT_FUNC(name) \
do { \
if (!INTERCEPT_FUNCTION(name)) \
VReport(1, "AddressSanitizer: failed to intercept '%s'\n'", #name); \
#define ASAN_INTERCEPT_FUNC(name) \
do { \
if (!INTERCEPT_FUNCTION(name)) \
VReport(1, "AddressSanitizer: failed to intercept '%s'\n", #name); \
} while (0)
#define ASAN_INTERCEPT_FUNC_VER(name, ver) \
do { \
Expand Down
8 changes: 4 additions & 4 deletions compiler-rt/lib/msan/msan_interceptors.cpp
Expand Up @@ -1245,10 +1245,10 @@ int OnExit() {
CHECK_UNPOISONED_0(x, n); \
} while (0)

#define MSAN_INTERCEPT_FUNC(name) \
do { \
if (!INTERCEPT_FUNCTION(name)) \
VReport(1, "MemorySanitizer: failed to intercept '%s'\n'", #name); \
#define MSAN_INTERCEPT_FUNC(name) \
do { \
if (!INTERCEPT_FUNCTION(name)) \
VReport(1, "MemorySanitizer: failed to intercept '%s'\n", #name); \
} while (0)

#define MSAN_INTERCEPT_FUNC_VER(name, ver) \
Expand Down

0 comments on commit 096bd9b

Please sign in to comment.