Adding support for --enable-logrefcnt; off by default in optimized builds, we need this for tinderbox. code=dp, r=mcafee
This commit is contained in:
Родитель
440cb99246
Коммит
a728f97c1b
|
@ -45,6 +45,7 @@ MOZ_OJI = @MOZ_OJI@
|
|||
MOZ_DEBUG = @MOZ_DEBUG@
|
||||
MOZ_DEBUG_MODULES = @MOZ_DEBUG_MODULES@
|
||||
MOZ_EXTENSIONS = @MOZ_EXTENSIONS@
|
||||
MOZ_LOG_REFCNT = @MOZ_LOG_REFCNT@
|
||||
MOZILLA_GPROF = @MOZILLA_GPROF@
|
||||
MOZ_LEAKY = @MOZ_LEAKY@
|
||||
BUILD_PROFILE = @MOZILLA_GPROF@
|
||||
|
|
|
@ -2594,6 +2594,13 @@ MOZ_ARG_ENABLE_BOOL(boehm,
|
|||
AC_DEFINE(GC_LEAK_DETECTOR)
|
||||
GC_LEAK_DETECTOR=1)
|
||||
|
||||
dnl This will enable logging of addref, release, ctor, dtor.
|
||||
MOZ_ARG_ENABLE_BOOL(logrefcnt,
|
||||
[ --enable-logrefcnt Enable Logging of refcounts (default=no) ],
|
||||
MOZ_LOG_REFCNT=1
|
||||
AC_DEFINE(MOZ_LOG_REFCNT))
|
||||
|
||||
|
||||
dnl mozilla/tools/leaky not part of default build.
|
||||
MOZ_ARG_ENABLE_BOOL(leaky,
|
||||
[ --enable-leaky Enable leaky memory tool],
|
||||
|
@ -2828,6 +2835,7 @@ AC_SUBST(MOZ_DEBUG_MODULES)
|
|||
AC_SUBST(MOZ_EXTENSIONS)
|
||||
AC_SUBST(MOZILLA_GPROF)
|
||||
AC_SUBST(GC_LEAK_DETECTOR)
|
||||
AC_SUBST(MOZ_LOG_REFCNT)
|
||||
AC_SUBST(MOZ_LEAKY)
|
||||
AC_SUBST(MOZ_INSURE)
|
||||
AC_SUBST(MOZ_INSURE_DIRS)
|
||||
|
|
Загрузка…
Ссылка в новой задаче