aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/debug
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/debug')
-rw-r--r--sysconfig/debug13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysconfig/debug b/sysconfig/debug
new file mode 100644
index 00000000..f0c05aae
--- /dev/null
+++ b/sysconfig/debug
@@ -0,0 +1,13 @@
+# MALLOC_CHECK_: should the system (libc) malloc check for memory errors?
+# Used values are:
+# unset: do not check
+# 0: silently ignore errors
+# 1: print diagnostics on stderr when an error is detected
+# 2: call abort when an error is detected
+MALLOC_CHECK_=1
+
+# MALLOC_PERTURB_: initialize cleared memory to the specified value
+MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
+
+# Perform extra sanity checking in the gslice allocator
+G_SLICE=debug-blocks