We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f4048e commit dc678abCopy full SHA for dc678ab
src/analyses/basePriv.ml
@@ -831,7 +831,7 @@ struct
831
832
let invariant_global (ask: Q.ask) getg g =
833
let locks = ask.f (Q.MustProtectingLocks {global = g; write = false}) in
834
- if LockDomain.MustLockset.is_all locks || LockDomain.MustLockset.is_empty locks then (* TODO: output unprotected invariant with empty lockset? *)
+ if LockDomain.MustLockset.is_all locks then
835
Invariant.none
836
else (
837
let read_global g = getg g in (* TODO: read top for others? or at least those which might not have all same protecting locks? *)
0 commit comments