add '-fno-omit-frame-pointer' to sanitize address builds for nicer stack traces in error messages.
This commit is contained in:
parent
203d767e73
commit
834f0ef312
1 changed files with 1 additions and 1 deletions
|
@ -1799,7 +1799,7 @@ if not preconfigured:
|
|||
env.Append(CXXFLAGS = '-fsanitize=undefined-trap -fsanitize-undefined-trap-on-error -ftrapv -fwrapv')
|
||||
|
||||
if env['DEBUG_SANITIZE']:
|
||||
env.Append(CXXFLAGS = ['-fsanitize=address'])
|
||||
env.Append(CXXFLAGS = ['-fsanitize=address','-fno-omit-frame-pointer'])
|
||||
env.Append(LINKFLAGS = ['-fsanitize=address'])
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue