Skip to content

Commit

Permalink
[NFC][lsan] Fix name of local var
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Oct 16, 2024
1 parent 4cc6a08 commit b2b0e6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler-rt/lib/lsan/lsan_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -712,11 +712,11 @@ static bool ReportUnsuspendedThreads(

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

InternalMmapVector<tid_t> unsuspended;
GetRunningThreadsLocked(&unsuspended);
InternalMmapVector<tid_t> known_threads;
GetRunningThreadsLocked(&known_threads);

bool succeded = true;
for (auto os_id : unsuspended) {
for (auto os_id : known_threads) {
uptr i = InternalLowerBound(threads, os_id);
if (i >= threads.size() || threads[i] != os_id) {
succeded = false;
Expand Down

0 comments on commit b2b0e6c

Please sign in to comment.