Bug 1347796 - Bump stack size 3x larger than default for win64 ASan. r=dbaron,gps

This is a similar issue to bug 582910 which the stack isn't big enough
to run the tests that recurse deeply. Set it 3x larger because the
offical site states they've seen up to 3x stack memory increase for
ASan, also the number was confirmed by the measurements in bug
1259796.


MozReview-Commit-ID: FLASlkVrEUM

--HG--
extra : rebase_source : 3e82439e3df7b1e2fa1759c9693bd197431c9f71
This commit is contained in:
Ting-Yu Chou 2017-03-20 10:52:00 +08:00
Родитель 24fdfb8a84
Коммит 9df076864f
1 изменённых файлов: 5 добавлений и 0 удалений

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

@ -413,10 +413,15 @@ endif # WINNT
ifdef _MSC_VER
ifeq ($(CPU_ARCH),x86_64)
ifdef MOZ_ASAN
# ASan could have 3x stack memory usage of normal builds.
WIN32_EXE_LDFLAGS += -STACK:6291456
else
# set stack to 2MB on x64 build. See bug 582910
WIN32_EXE_LDFLAGS += -STACK:2097152
endif
endif
endif
#
# Include any personal overrides the user might think are needed.