add macOS malloc debugging env vars
which would have saved me some time when debugging a recent macOS issue. Change-Id: I370826501db14fc563b553428f480f50bde48f9e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89056 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
7865c662a4
commit
302d85a931
2 changed files with 6 additions and 1 deletions
|
@ -17,9 +17,13 @@
|
|||
#
|
||||
|
||||
ulimit -c unlimited
|
||||
# debugging assistance
|
||||
# Linux debugging assistance
|
||||
export SAL_DISABLE_FLOATGRAB=1
|
||||
export G_SLICE=always-malloc
|
||||
export MALLOC_CHECK_=2
|
||||
export MALLOC_PERTURB_=153
|
||||
export OOO_DISABLE_RECOVERY=1
|
||||
|
||||
# macOS debugging assistance
|
||||
export MallocScribble=1
|
||||
export MallocPreScribble=1
|
||||
|
|
|
@ -267,6 +267,7 @@ gb_CppunitTest_CPPTESTPRECOMMAND := \
|
|||
$(call gb_Helper_extend_ld_path,$(gb_Library_DLLDIR):$(WORKDIR)/UnpackedTarball/cppunit/src/cppunit/.libs)
|
||||
gb_CppunitTest_get_filename = libtest_$(1).dylib
|
||||
gb_CppunitTest_get_ilibfilename = $(gb_CppunitTest_get_filename)
|
||||
gb_CppunitTest_malloc_check := MallocScribble=1 MallocPreScribble=1
|
||||
|
||||
define gb_CppunitTest_CppunitTest_platform
|
||||
$(call gb_LinkTarget_get_target,$(2)) : RPATH :=
|
||||
|
|
Loading…
Reference in a new issue