subdir('meson/auto-var-init') # Automatic Variable Initialization
# TODO Use meson's -Db_sanitize option?
# subdir('meson/sanitizers') # Sanitizers
+subdir('meson/malloc-trace') # Malloc-trace
# Find or generate pdns/dnslabeltext.cc
if not ragel.found() and not fs.exists('pdns/dnslabeltext.cc')
--- /dev/null
+# Malloc-trace
+
+opt_malloc_trace = get_option('malloc-trace')
+conf.set10('MALLOC_TRACE', opt_malloc_trace, description: 'Enable malloc-trace')
# option('sanitizer-thread', type: 'boolean', value: false, description: 'Enable the Thread Sanitizer')
# option('sanitizer-leak', type: 'boolean', value: false, description: 'Enable the Leak Sanitizer')
# option('sanitizer-undefined', type: 'boolean', value: false, description: 'Enable the Undefined Behavior Sanitizer')
+option('malloc-trace', type: 'boolean', value: false, description: 'Enable malloc-trace')