Tools: use --track-origins=yes in valgrind for sim_vehicle.py
this allows us to find the original cause of an uninitialised variable
This commit is contained in:
parent
c93d73b678
commit
8a05feb9d3
@ -549,6 +549,7 @@ def start_vehicle(binary, autotest, opts, stuff, loc=None):
|
||||
# adding this option allows valgrind to cope with the overload
|
||||
# of operator new
|
||||
cmd.append("--soname-synonyms=somalloc=nouserintercepts")
|
||||
cmd.append("--track-origins=yes")
|
||||
if opts.callgrind:
|
||||
cmd_name += " (callgrind)"
|
||||
cmd.append("valgrind")
|
||||
|
Loading…
Reference in New Issue
Block a user