File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 6262 let to_extra (v ,o ) set = D. add v set in
6363 Queries.LS. fold to_extra a (D. empty () )
6464 (* Ignore soundness warnings, as invalidation proper will raise them. *)
65- | _ -> D. empty ()
65+ | a ->
66+ if M. tracing then M. tracel " escape" " reachable %a: %a\n " d_exp e Queries.LS. pretty a;
67+ D. empty ()
6668
6769 let special ctx (lval : lval option ) (f :varinfo ) (arglist :exp list ) : D.t =
6870 ctx.local
8486 match args with
8587 | [ptc_arg] ->
8688 let escaped = fctx.local in (* reuse reachable computation from threadenter *)
89+ if M. tracing then M. tracel " escape" " %a: %a\n " d_exp ptc_arg D. pretty escaped;
8790 if not (D. is_empty escaped) then (* avoid emitting unnecessary event *)
8891 ctx.emit (Events. Escape escaped);
8992 escaped
You can’t perform that action at this time.
0 commit comments