[clang] [analyzer] Disable lock order reversal check by default in PthreadLoc… (PR #202452)
Balázs Benics via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 9 04:12:45 PDT 2026
================
@@ -946,6 +937,13 @@ Crash and bug fixes
- Fixed ``security.VAList`` checker producing false positives when analyzing
C23 code where ``va_start`` expands to ``__builtin_c23_va_start``.
+Improvements
+^^^^^^^^^^^^
+
+- The lock-order-reversal check in ``alpha.unix.PthreadLock`` is now disabled
+ by default. It can be re-enabled with
+ ``-analyzer-config alpha.unix.PthreadLock:WarnOnLockOrderReversal=true``.
----------------
steakhal wrote:
```suggestion
- The lock-order-reversal check in ``alpha.unix.PthreadLock`` is now disabled by default.
It can be re-enabled with
``-analyzer-config alpha.unix.PthreadLock:WarnOnLockOrderReversal=true``.
Please make this flag into a link to the public docs of this option.
```
https://github.com/llvm/llvm-project/pull/202452
More information about the cfe-commits
mailing list