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

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 22 04:58:09 PDT 2021


balazske marked an inline comment as done.
balazske added inline comments.


================
Comment at: clang/test/Analysis/pthreadlock_state.c:55
+  // CHECK-NEXT:      "mtx: conj_$11{int, LC1, S1874, #1}", 
+  // CHECK-NEXT:      ""
+  // CHECK-NEXT:    ]}
----------------
steakhal wrote:
> Out of curiosity, what is the purpose of this 'empty' line? I've seen it many times in other tests but I still don't know.
This is an issue with the state dump, the checker does not print the empty line but the state dump shows it always.


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