forked from mirrors/gecko-dev
Bug 1485210 - Add --sym-offsets=yes to valgrind command line. r=njn
When valgrind prints out backtraces, it prints raw addresses and symbol names, but that doesn't help find the exact code that caused the errors, because we don't know where the libraries are loaded. With --sym-offsets=yes, it adds the offset from the symbol, which allows to find the relevant code in the binary.
This commit is contained in:
parent
c8dfc19d97
commit
89dfab93fc
1 changed files with 1 additions and 0 deletions
|
|
@ -114,6 +114,7 @@ class MachCommands(MachCommandBase):
|
|||
|
||||
valgrind_args = [
|
||||
valgrind,
|
||||
'--sym-offsets=yes',
|
||||
'--smc-check=all-non-file',
|
||||
'--vex-iropt-register-updates=allregs-at-mem-access',
|
||||
'--gen-suppressions=all',
|
||||
|
|
|
|||
Loading…
Reference in a new issue