Skip to content

Commit c0f487e

Browse files
Comment out non-implemented variant
1 parent 1ffaa78 commit c0f487e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/analyses/basePriv.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2226,7 +2226,7 @@ let priv_module: (module S) Lazy.t =
22262226
| "vojdani" -> (module VojdaniPriv: S)
22272227
| "mutex-oplus" -> (module PerMutexOplusPriv)
22282228
| "mutex-meet" -> (module PerMutexMeetPriv)
2229-
| "mutex-meet-ghost" -> (module PerMutexMeetTIDPriv (GhostPhase))
2229+
(* | "mutex-meet-ghost" -> (module PerMutexMeetTIDPriv (GhostPhase)) *) (* TODO: Implement *)
22302230
| "mutex-meet-tid" -> (module PerMutexMeetTIDPriv (ThreadDigest))
22312231
| "protection" -> (module ProtectionBasedPriv (ProtDom) (struct let check_read_unprotected = false let handle_atomic = false end)(NoWrapper))
22322232
| "protection-tid" -> (module ProtectionBasedPriv (ProtDom) (struct let check_read_unprotected = false let handle_atomic = false end)(DigestWrapper(ThreadNotStartedDigest)))

src/maingoblint.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ let check_arguments () =
134134
if get_bool "ana.base.context.int" && not (get_bool "ana.base.context.non-ptr") then (set_bool "ana.base.context.int" false; warn "ana.base.context.int implicitly disabled by ana.base.context.non-ptr");
135135
(* order matters: non-ptr=false, int=true -> int=false cascades to interval=false with warning *)
136136
if get_bool "ana.base.context.interval" && not (get_bool "ana.base.context.int") then (set_bool "ana.base.context.interval" false; warn "ana.base.context.interval implicitly disabled by ana.base.context.int");
137-
if get_bool "ana.base.priv.protection.changes-only" && not @@ List.mem (get_string "ana.base.privatization") ["protection"; "protection-tid"; "protection-atomic"; "protection-read"; "protection-read-tid"; "protection-read-atomic"] then
137+
if get_bool "ana.base.priv.protection.changes-only" && not @@ List.mem (get_string "ana.base.privatization") ["protection"; "protection-tid"; "protection-atomic"; "protection-read"; "protection-read-tid"; "protection-read-atomic"; "protection-atomic-ghost"] then
138138
warn "ana.base.priv.protection.changes-only requires ana.base.privatization to be protection based";
139139
if get_bool "incremental.only-rename" then (set_bool "incremental.load" true; warn "incremental.only-rename implicitly activates incremental.load. Previous AST is loaded for diff and rename, but analysis results are not reused.");
140140
if get_bool "incremental.restart.sided.enabled" && get_string_list "incremental.restart.list" <> [] then warn "Passing a non-empty list to incremental.restart.list (manual restarting) while incremental.restart.sided.enabled (automatic restarting) is activated.";

0 commit comments

Comments
 (0)