[compiler-rt] [LSAN][NFC] Add a new line to a log (PR #66305)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 17:12:29 PDT 2023


https://github.com/kstoimenov created https://github.com/llvm/llvm-project/pull/66305:

None

>From c5389937203a95e08b83c24cdedf022a1f8b9dfb Mon Sep 17 00:00:00 2001
From: Kirill Stoimenov <kstoimenov at google.com>
Date: Thu, 14 Sep 2023 00:00:53 +0000
Subject: [PATCH] [LSAN][NFC] Add a new line to a log

---
 compiler-rt/lib/lsan/lsan_common.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler-rt/lib/lsan/lsan_common.cpp b/compiler-rt/lib/lsan/lsan_common.cpp
index 9b73ddbdc756ffa..fcf765bd03ea7be 100644
--- a/compiler-rt/lib/lsan/lsan_common.cpp
+++ b/compiler-rt/lib/lsan/lsan_common.cpp
@@ -762,7 +762,7 @@ static bool CheckForLeaks() {
     VReport(1, "LeakSanitizer is disabled");
     return false;
   }
-  VReport(1, "LeakSanitizer: checking for leaks");
+  VReport(1, "LeakSanitizer: checking for leaks\n");
   // Inside LockStuffAndStopTheWorld we can't run symbolizer, so we can't match
   // suppressions. However if a stack id was previously suppressed, it should be
   // suppressed in future checks as well.



More information about the llvm-commits mailing list