[compiler-rt] 0a07789 - [HWASan] Add missing newlines.
Matt Morehouse via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 15 09:07:00 PDT 2021
Author: Matt Morehouse
Date: 2021-09-15T09:06:01-07:00
New Revision: 0a07789fe93d8994163798ed6d14937412274dc2
URL: https://github.com/llvm/llvm-project/commit/0a07789fe93d8994163798ed6d14937412274dc2
DIFF: https://github.com/llvm/llvm-project/commit/0a07789fe93d8994163798ed6d14937412274dc2.diff
LOG: [HWASan] Add missing newlines.
Added:
Modified:
compiler-rt/lib/hwasan/hwasan_interceptors.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/hwasan/hwasan_interceptors.cpp b/compiler-rt/lib/hwasan/hwasan_interceptors.cpp
index 5f8b49c3af81e..bc822a3179d21 100644
--- a/compiler-rt/lib/hwasan/hwasan_interceptors.cpp
+++ b/compiler-rt/lib/hwasan/hwasan_interceptors.cpp
@@ -107,7 +107,7 @@ INTERCEPTOR(void, siglongjmp, __hw_sigjmp_buf env, int val) {
if (env[0].__magic != kHwJmpBufMagic) {
Printf(
"WARNING: Unexpected bad jmp_buf. Either setjmp was not called or "
- "there is a bug in HWASan.");
+ "there is a bug in HWASan.\n");
return REAL(siglongjmp)(env, val);
}
@@ -131,7 +131,7 @@ INTERCEPTOR(void, longjmp, __hw_jmp_buf env, int val) {
if (env[0].__magic != kHwJmpBufMagic) {
Printf(
"WARNING: Unexpected bad jmp_buf. Either setjmp was not called or "
- "there is a bug in HWASan.");
+ "there is a bug in HWASan.\n");
return REAL(longjmp)(env, val);
}
InternalLongjmp(env[0].__jmpbuf, val);
More information about the llvm-commits
mailing list