Issue #2266 - Part 1 - Allow MSVC and potentially GCC to use Address Sanitizer on Windows. Check for WINNT instead of CLANG-CL, except for the Blacklist that isn't supported by MSVC. Neither CLANG-CL nor MSVC require -fsanitize=address on the link phase.

This commit is contained in:
Brian Smith 2023-08-14 19:56:06 -05:00 committed by roytam1
commit 0f78df0e2c
3 changed files with 8 additions and 9 deletions

View file

@ -9,9 +9,6 @@ if CONFIG['MOZ_LIBSTDCXX_TARGET_VERSION'] or CONFIG['MOZ_LIBSTDCXX_HOST_VERSION'
if CONFIG['USE_ELF_HACK']:
DIRS += ['elfhack']
if CONFIG['LLVM_SYMBOLIZER']:
FINAL_TARGET_FILES += ['/' + CONFIG['LLVM_SYMBOLIZER']]
SDK_FILES.bin += [
'run-mozilla.sh',
]