mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 929024 - Fix ASan symbolizing for mochitests. r=ted
--HG-- extra : rebase_source : f6b4ee3a5d84ba1987f2a35abe9b28c1d45efb2e
This commit is contained in:
parent
cbe315f17c
commit
966b0e4669
@ -449,6 +449,12 @@ def environment(xrePath, env=None, crashreporter=True):
|
||||
asan = bool(mozinfo.info.get("asan"))
|
||||
if asan and (mozinfo.isLinux or mozinfo.isMac):
|
||||
try:
|
||||
# Symbolizer support
|
||||
llvmsym = os.path.join(xrePath, "llvm-symbolizer")
|
||||
if os.path.isfile(llvmsym):
|
||||
env["ASAN_SYMBOLIZER_PATH"] = llvmsym
|
||||
log.info("ASan using symbolizer at %s", llvmsym)
|
||||
|
||||
totalMemory = systemMemory()
|
||||
|
||||
# Only 2 GB RAM or less available? Use custom ASan options to reduce
|
||||
|
Loading…
Reference in New Issue
Block a user