Skip to content

Commit b2b0e6c

Browse files
committed
[NFC][lsan] Fix name of local var
1 parent 4cc6a08 commit b2b0e6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler-rt/lib/lsan/lsan_common.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -712,11 +712,11 @@ static bool ReportUnsuspendedThreads(
712712

713713
Sort(threads.data(), threads.size());
714714

715-
InternalMmapVector<tid_t> unsuspended;
716-
GetRunningThreadsLocked(&unsuspended);
715+
InternalMmapVector<tid_t> known_threads;
716+
GetRunningThreadsLocked(&known_threads);
717717

718718
bool succeded = true;
719-
for (auto os_id : unsuspended) {
719+
for (auto os_id : known_threads) {
720720
uptr i = InternalLowerBound(threads, os_id);
721721
if (i >= threads.size() || threads[i] != os_id) {
722722
succeded = false;

0 commit comments

Comments
 (0)