Bug 1313394 - Update build system to support 64-bit ASan DLLs. r=ted

This commit is contained in:
David Major 2016-10-28 16:52:36 -05:00
Родитель 3d95455775
Коммит 81eeceed59
2 изменённых файлов: 7 добавлений и 3 удалений

Просмотреть файл

@ -814,7 +814,7 @@ bin/libfreebl_32int64_3.so
#endif
#if defined(MOZ_ASAN) && defined(CLANG_CL)
@BINPATH@/clang_rt.asan_dynamic-i386.dll
@BINPATH@/clang_rt.asan_dynamic-*.dll
#endif

Просмотреть файл

@ -14,8 +14,12 @@ MOZ_ARG_ENABLE_BOOL(address-sanitizer,
if test -n "$MOZ_ASAN"; then
MOZ_LLVM_HACKS=1
if test -n "$CLANG_CL"; then
# Look for clang_rt.asan_dynamic-i386.dll
MOZ_CLANG_RT_ASAN_LIB=clang_rt.asan_dynamic-i386.dll
# Look for the ASan runtime binary
if test "$CPU_ARCH" = "x86_64"; then
MOZ_CLANG_RT_ASAN_LIB=clang_rt.asan_dynamic-x86_64.dll
else
MOZ_CLANG_RT_ASAN_LIB=clang_rt.asan_dynamic-i386.dll
fi
# We use MOZ_PATH_PROG in order to get a Windows style path.
MOZ_PATH_PROG(MOZ_CLANG_RT_ASAN_LIB_PATH, $MOZ_CLANG_RT_ASAN_LIB)
if test -z "$MOZ_CLANG_RT_ASAN_LIB_PATH"; then