[llvm-branch-commits] [compiler-rt] [lsan] Process non-suspended threads (PR #112807)
Vitaly Buka via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Oct 18 11:49:07 PDT 2024
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/112807
>From 8e6448fbe62dd4236746bef0d2e389a822aaec77 Mon Sep 17 00:00:00 2001
From: Vitaly Buka <vitalybuka at google.com>
Date: Thu, 17 Oct 2024 18:40:48 -0700
Subject: [PATCH] naming
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 8f16ff6c815c31..93fe1475e16bf3 100644
--- a/compiler-rt/lib/lsan/lsan_common.cpp
+++ b/compiler-rt/lib/lsan/lsan_common.cpp
@@ -294,7 +294,7 @@ struct DirectMemoryAccessor {
void *LoadPtr(uptr p) const { return *reinterpret_cast<void **>(p); }
};
-struct CopyLoader {
+struct CopyMemoryAccessor {
void Init(uptr begin, uptr end) {
this->begin = begin;
buffer.clear();
@@ -585,7 +585,7 @@ static void ProcessThreads(SuspendedThreadsList const &suspended_threads,
}
if (flags()->use_detached) {
- CopyLoader accessor;
+ CopyMemoryAccessor accessor;
InternalMmapVector<tid_t> known_threads;
GetRunningThreadsLocked(&known_threads);
Sort(done_threads.data(), done_threads.size());
More information about the llvm-branch-commits
mailing list