[all-commits] [llvm/llvm-project] 630f30: [analyzer] Add path notes to PthreadLockChecker (#...
Endre Fülöp via All-commits
all-commits at lists.llvm.org
Fri Jun 12 01:09:21 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 630f30ca579575632937ff226c0feebb15d03623
https://github.com/llvm/llvm-project/commit/630f30ca579575632937ff226c0feebb15d03623
Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
Date: 2026-06-12 (Fri, 12 Jun 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
A clang/test/Analysis/pthreadlock-notes.c
Log Message:
-----------
[analyzer] Add path notes to PthreadLockChecker (#202473)
Bug reports from this checker lack context about where mutexes were
locked or unlocked, making it hard to understand the diagnostic without
reading surrounding code.
Add NoteTag on lock, unlock, destroy, and init events. Notes name the
mutex when possible and are filtered to only appear when the mutex is
relevant to the reported bug.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list