mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 751355 - Linux and Fennec profiling builds should be built with disable elfhack and not strip symbols. r=ted
This commit is contained in:
parent
e25ef03bbb
commit
0f4ea8482b
12
configure.in
12
configure.in
@ -1926,6 +1926,11 @@ MOZ_ARG_ENABLE_BOOL(profiling,
|
||||
MOZ_PROFILING=1,
|
||||
MOZ_PROFILING= )
|
||||
|
||||
# For profiling builds keep the symbol information
|
||||
if test "$MOZ_PROFILING" -a -z "$STRIP_FLAGS"; then
|
||||
STRIP_FLAGS="--strip-debug"
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Use Valgrind
|
||||
dnl ========================================================
|
||||
@ -7438,6 +7443,13 @@ MOZ_ARG_DISABLE_BOOL(elf-hack,
|
||||
USE_ELF_HACK=,
|
||||
USE_ELF_HACK=1)
|
||||
|
||||
# Disable elf hack for profiling because the built in profiler
|
||||
# doesn't read the segments properly with elf hack. This is
|
||||
# temporary and should be fixed soon in the profiler.
|
||||
if test "$MOZ_PROFILING" = 1; then
|
||||
USE_ELF_HACK=
|
||||
fi
|
||||
|
||||
# Only enable elfhack where supported
|
||||
if test "$USE_ELF_HACK" = 1; then
|
||||
case "${HOST_OS_ARCH},${OS_ARCH}" in
|
||||
|
Loading…
Reference in New Issue
Block a user