Skip to content

Commit

Permalink
feat: add VALGRIND_TRACK_ORIGINS
Browse files Browse the repository at this point in the history
This will allow toggling Valgrind's --track-origins option
  • Loading branch information
tysmith committed Nov 4, 2024
1 parent a931f94 commit a3cc57a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ffpuppet/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,12 @@ def build_launch_cmd(
"--smc-check=all-non-file",
"--trace-children=yes",
"--trace-children-skip=python*,*/lsb_release",
"--track-origins=no",
# track-origins=no is much faster and best used to discover issues
(
"--track-origins=yes"
if getenv("VALGRIND_TRACK_ORIGINS") == "1"
else "--track-origins=no"
),
"--vex-iropt-register-updates=allregs-at-mem-access",
"--vgdb=no",
]
Expand Down

0 comments on commit a3cc57a

Please sign in to comment.