[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 &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.
</pre>
</details>
https://github.com/llvm/llvm-project/pull/66410
More information about the llvm-commits
mailing list