[compiler-rt] 453d373 - [lsan] Add a few "\n" missing from VReport

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 11:24:53 PDT 2024


Author: Vitaly Buka
Date: 2024-10-10T11:24:36-07:00
New Revision: 453d373e80f3ed8d67c92956101f7b9fa9467116

URL: https://github.com/llvm/llvm-project/commit/453d373e80f3ed8d67c92956101f7b9fa9467116
DIFF: https://github.com/llvm/llvm-project/commit/453d373e80f3ed8d67c92956101f7b9fa9467116.diff

LOG: [lsan] Add a few "\n" missing from VReport

Added: 
    

Modified: 
    compiler-rt/lib/lsan/lsan_common.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/lsan/lsan_common.cpp b/compiler-rt/lib/lsan/lsan_common.cpp
index 438aa3a85f6724..6776598651ae9b 100644
--- a/compiler-rt/lib/lsan/lsan_common.cpp
+++ b/compiler-rt/lib/lsan/lsan_common.cpp
@@ -780,10 +780,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