Skip to content

Commit c28e863

Browse files
committed
Use dbg.full-output in printXml
1 parent 5419d44 commit c28e863

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cdomain/value/cdomains/intDomain.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3727,8 +3727,8 @@ module IntDomTupleImpl = struct
37273727
let pretty_diff () (x,y) = dprintf "%a instead of %a" pretty x pretty y
37283728
let printXml f x =
37293729
match to_int x with
3730-
| Some v -> BatPrintf.fprintf f "<value>\n<data>\n%s\n</data>\n</value>\n" (Z.to_string v)
3731-
| None -> BatPrintf.fprintf f "<value>\n<data>\n%s\n</data>\n</value>\n" (show x)
3730+
| Some v when not (GobConfig.get_bool "dbg.full-output") -> BatPrintf.fprintf f "<value>\n<data>\n%s\n</data>\n</value>\n" (Z.to_string v)
3731+
| _ -> BatPrintf.fprintf f "<value>\n<data>\n%s\n</data>\n</value>\n" (show x)
37323732

37333733
let invariant_ikind e ik x =
37343734
match to_int x with

0 commit comments

Comments
 (0)