mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1322735 - Enable frame pointers on 32-bit windows builds. r=glandium
This universally disables FPO on win32. MozReview-Commit-ID: AT9ozxGN0C5 --HG-- extra : rebase_source : 01eb5ba4ca12d6fe2f1c85743edf9b5e56fafd09
This commit is contained in:
parent
642927f52b
commit
d2ab17a31d
@ -29,12 +29,14 @@ AC_DEFUN([MOZ_SET_FRAMEPTR_FLAGS], [
|
||||
esac
|
||||
fi
|
||||
|
||||
# if we are debugging, profiling or using sanitizers, we want a frame pointer.
|
||||
# If we are debugging, profiling, using sanitizers, or on win32 we want a
|
||||
# frame pointer.
|
||||
if test -z "$MOZ_OPTIMIZE" -o \
|
||||
-n "$MOZ_PROFILING" -o \
|
||||
-n "$MOZ_DEBUG" -o \
|
||||
-n "$MOZ_MSAN" -o \
|
||||
-n "$MOZ_ASAN"; then
|
||||
-n "$MOZ_ASAN" -o
|
||||
"$OS_ARCH:$CPU_ARCH" = "WINNT:x86"; then
|
||||
MOZ_FRAMEPTR_FLAGS="$MOZ_ENABLE_FRAME_PTR"
|
||||
else
|
||||
MOZ_FRAMEPTR_FLAGS="$MOZ_DISABLE_FRAME_PTR"
|
||||
|
Loading…
Reference in New Issue
Block a user