[compiler-rt] b26aac5 - [sanitizer] Report -> VReport for ThreadLister failure
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 23:12:10 PDT 2024
Author: Vitaly Buka
Date: 2024-10-08T23:11:58-07:00
New Revision: b26aac5a440d03791a367a1ee19d0341b68a28bc
URL: https://github.com/llvm/llvm-project/commit/b26aac5a440d03791a367a1ee19d0341b68a28bc
DIFF: https://github.com/llvm/llvm-project/commit/b26aac5a440d03791a367a1ee19d0341b68a28bc.diff
LOG: [sanitizer] Report -> VReport for ThreadLister failure
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp
index 73ba884052a3a3..d9f803a276dadc 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp
@@ -217,7 +217,7 @@ bool ThreadSuspender::SuspendAllThreads() {
switch (thread_lister.ListThreads(&threads)) {
case ThreadLister::Error:
ResumeAllThreads();
- Report("Failed to list threads\n");
+ VReport(1, "Failed to list threads\n");
return false;
case ThreadLister::Incomplete:
retry = true;
More information about the llvm-commits
mailing list