diff options
| -rw-r--r-- | compiler-rt/lib/asan/asan_printf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/asan_printf.cc b/compiler-rt/lib/asan/asan_printf.cc index 4f08f54c46a..69c34fa4f8f 100644 --- a/compiler-rt/lib/asan/asan_printf.cc +++ b/compiler-rt/lib/asan/asan_printf.cc @@ -88,7 +88,7 @@ static inline int AppendSignedDecimal(char **buff, const char *buff_end, static inline int AppendString(char **buff, const char *buff_end, const char *s) { // Avoid library functions like stpcpy here. - RAW_CHECK(s); + RAW_CHECK_MSG(s, "Error: passing a NULL pointer to AppendString\n"); int result = 0; for (; *s; s++) { result += AppendChar(buff, buff_end, *s); |

