[PATCH] D98502: [clang][Checkers] Extend PthreadLockChecker state dump (NFC).

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 16 13:15:04 PDT 2021


NoQ added a comment.

That's what i like to see!

You can test this via `clang_analyzer_printState()`.



================
Comment at: clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:343
+  if (!DRV.isEmpty()) {
+    Out << Sep << "Mutex destroys with unknown result:" << NL;
+    for (auto I : DRV) {
----------------
I think this should be passive. The mutex doesn't actively destroy anybody.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98502/new/

https://reviews.llvm.org/D98502



More information about the cfe-commits mailing list