[llvm] GitHub learn (PR #66806)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 12:32:30 PDT 2023


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

None

>From b739af00963c23e4b50ae8e0a71550e5732e4d0d 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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler-rt/lib/lsan/lsan_common.cpp b/compiler-rt/lib/lsan/lsan_common.cpp
index 9b73ddbdc756ffa..9b332bc81c42e6d 100644
--- a/compiler-rt/lib/lsan/lsan_common.cpp
+++ b/compiler-rt/lib/lsan/lsan_common.cpp
@@ -759,10 +759,10 @@ static bool PrintResults(LeakReport &report) {
 
 static bool CheckForLeaks() {
   if (&__lsan_is_turned_off && __lsan_is_turned_off()) {
-    VReport(1, "LeakSanitizer is disabled");
+    VReport(1, "LeakSanitizer is disabled\n");
     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