mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1313394 - Update build system to support 64-bit ASan DLLs. r=ted
This commit is contained in:
parent
3d95455775
commit
81eeceed59
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user