[llvm-branch-commits] [compiler-rt] [lsan] Log thread history (PR #111949)
Vitaly Buka via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Oct 10 21:55:09 PDT 2024
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/111949
>From 396c12a5c5a8ecef041b333d92b7a3dcaa82a776 Mon Sep 17 00:00:00 2001
From: Vitaly Buka <vitalybuka at google.com>
Date: Thu, 10 Oct 2024 21:54:59 -0700
Subject: [PATCH] rebase
Created using spr 1.3.4
---
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 4fd93d4edc5639..a012e60c314253 100644
--- a/compiler-rt/lib/lsan/lsan_common.cpp
+++ b/compiler-rt/lib/lsan/lsan_common.cpp
@@ -773,10 +773,10 @@ static bool PrintResults(LeakReport &report) {
GetSuppressionContext()->PrintMatchedSuppressions();
if (unsuppressed_count > 0) {
report.PrintSummary();
+ if (common_flags()->verbosity >= 2 && flags()->log_threads)
+ PrintThreads();
return true;
}
- if (common_flags()->verbosity >= 2 && flags()->log_threads)
- PrintThreads();
return false;
}
More information about the llvm-branch-commits
mailing list