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

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 11:06:26 PDT 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-compiler-rt-sanitizer
            
<details>
<summary>Changes</summary>
None
--
Full diff: https://github.com/llvm/llvm-project/pull/66410.diff

1 Files Affected:

- (modified) compiler-rt/lib/lsan/lsan_common.cpp (+2-2) 


<pre>
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 &amp;report) {
 
 static bool CheckForLeaks() {
   if (&amp;__lsan_is_turned_off &amp;&amp; __lsan_is_turned_off()) {
-    VReport(1, &quot;LeakSanitizer is disabled&quot;);
+    VReport(1, &quot;LeakSanitizer is disabled\n&quot;);
     return false;
   }
-  VReport(1, &quot;LeakSanitizer: checking for leaks&quot;);
+  VReport(1, &quot;LeakSanitizer: checking for leaks\n&quot;);
   // Inside LockStuffAndStopTheWorld we can&#x27;t run symbolizer, so we can&#x27;t match
   // suppressions. However if a stack id was previously suppressed, it should be
   // suppressed in future checks as well.
</pre>
</details>


https://github.com/llvm/llvm-project/pull/66410


More information about the llvm-commits mailing list