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:
Mike Hommey 2018-08-22 08:58:08 +09:00
parent c8dfc19d97
commit 89dfab93fc

View file

@ -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',