Skip to content

Commit d5ce9a4

Browse files
committed
Deduplicate TID and lockset in access output with creationLockset
1 parent 928b706 commit d5ce9a4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/analyses/creationLockset.ml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,12 @@ module Spec = struct
137137
|| one_protected_inter_threaded_other_intra_threaded cl1 t2 ls2
138138
|| one_protected_inter_threaded_other_intra_threaded cl2 t1 ls1)
139139

140+
(* TID and Lockset components are directly queried from other analyses and already are printed by them *)
141+
let pretty () (_, _, cl) = G.pretty () cl
142+
let show (_, _, cl) = G.show cl
143+
let to_yojson (_, _, cl) = G.to_yojson cl
144+
let printXml f (_, _, cl) = G.printXml f cl
145+
140146
let should_print (_t, _ls, cl) = not @@ G.is_empty cl
141147
end
142148

0 commit comments

Comments
 (0)