Skip to content

Commit ffcb4b4

Browse files
committed
Revert "[clang][Checkers] Extend PthreadLockChecker state dump (NFC)."
This reverts commit 49c0ab6. Test failures showed up because non-deterministic output.
1 parent 2f6f249 commit ffcb4b4

File tree

2 files changed

+1
-77
lines changed

2 files changed

+1
-77
lines changed

clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -339,16 +339,7 @@ void PthreadLockChecker::printState(raw_ostream &Out, ProgramStateRef State,
339339
}
340340
}
341341

342-
DestroyRetValTy DRV = State->get<DestroyRetVal>();
343-
if (!DRV.isEmpty()) {
344-
Out << Sep << "Mutexes in unresolved possibly destroyed state:" << NL;
345-
for (auto I : DRV) {
346-
I.first->dumpToStream(Out);
347-
Out << ": ";
348-
I.second->dumpToStream(Out);
349-
Out << NL;
350-
}
351-
}
342+
// TODO: Dump destroyed mutex symbols?
352343
}
353344

354345
void PthreadLockChecker::AcquirePthreadLock(const CallEvent &Call,

clang/test/Analysis/pthreadlock_state.c

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)