Skip to content

Commit 79b8d76

Browse files
committed
Fix alloc varinfo name with no thread ID but with counter (closes #1388)
1 parent 83c7cf1 commit 79b8d76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/analyses/wrapperFunctionAnalysis.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ module MallocWrapper : MCPSpec = struct
141141
if not (GobConfig.get_bool "dbg.full-output") && ThreadLifted.is_top t then
142142
Format.dprintf ""
143143
else
144-
Format.dprintf "@tid:%s%t" (ThreadLifted.show t) uniq_count
144+
Format.dprintf "@tid:%s" (ThreadLifted.show t)
145145
in
146-
Format.asprintf "(alloc@sid:%s%t)" (Node.show_id node) tid
146+
Format.asprintf "(alloc@sid:%s%t%t)" (Node.show_id node) tid uniq_count
147147
end
148148

149149
module NodeVarinfoMap = RichVarinfo.BiVarinfoMap.Make(ThreadNode)

0 commit comments

Comments
 (0)