Commit d1b8043 1 parent c5b3a4f commit d1b8043 Copy full SHA for d1b8043
File tree 2 files changed +15
-15
lines changed
2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -131,19 +131,19 @@ module MallocWrapper : MCPSpec = struct
131
131
CilType.Location. show loc
132
132
133
133
let name_varinfo (t , node , c ) =
134
- let uniq_count =
135
- if not (GobConfig. get_bool " dbg.full-output" ) && UniqueCount. is_top c then
136
- Format. dprintf " "
137
- else
138
- Format. dprintf " (#%s)" (UniqueCount. show c)
139
- in
140
- let tid =
141
- if not (GobConfig. get_bool " dbg.full-output" ) && ThreadLifted. is_top t then
142
- Format. dprintf " "
143
- else
144
- Format. dprintf " @tid:%s%t" (ThreadLifted. show t) uniq_count
145
- in
146
- Format. asprintf " (alloc@sid:%s%t)" (Node. show_id node) tid
134
+ let uniq_count =
135
+ if not (GobConfig. get_bool " dbg.full-output" ) && UniqueCount. is_top c then
136
+ Format. dprintf " "
137
+ else
138
+ Format. dprintf " (#%s)" (UniqueCount. show c)
139
+ in
140
+ let tid =
141
+ if not (GobConfig. get_bool " dbg.full-output" ) && ThreadLifted. is_top t then
142
+ Format. dprintf " "
143
+ else
144
+ Format. dprintf " @tid:%s%t" (ThreadLifted. show t) uniq_count
145
+ in
146
+ Format. asprintf " (alloc@sid:%s%t)" (Node. show_id node) tid
147
147
end
148
148
149
149
module NodeVarinfoMap = RichVarinfo.BiVarinfoMap. Make (ThreadNode )
Original file line number Diff line number Diff line change @@ -3614,8 +3614,8 @@ module IntDomTupleImpl = struct
3614
3614
match to_int x with
3615
3615
| Some v when not (GobConfig. get_bool " dbg.full-output" ) -> Z. to_string v
3616
3616
| _ -> mapp { fp = fun (type a ) (module I:SOverflow with type t = a ) x -> I. name () ^ " :" ^ (I. show x) } x
3617
- |> to_list
3618
- |> String. concat " ; "
3617
+ |> to_list
3618
+ |> String. concat " ; "
3619
3619
let to_yojson = [% to_yojson: Yojson.Safe. t list ] % to_list % mapp { fp = fun (type a ) (module I:SOverflow with type t = a ) x -> I. to_yojson x }
3620
3620
let hash = List. fold_left (lxor ) 0 % to_list % mapp { fp = fun (type a ) (module I:SOverflow with type t = a ) -> I. hash }
3621
3621
You can’t perform that action at this time.
0 commit comments