diff --git a/cc/sanitize.go b/cc/sanitize.go index 2d80c2213..ef60b8e7a 100644 --- a/cc/sanitize.go +++ b/cc/sanitize.go @@ -57,7 +57,7 @@ var ( minimalRuntimeFlags = []string{"-fsanitize-minimal-runtime", "-fno-sanitize-trap=integer,undefined", "-fno-sanitize-recover=integer,undefined"} - hwasanGlobalOptions = []string{"heap_history_size=1023,stack_history_size=512"} + hwasanGlobalOptions = []string{"heap_history_size=1023,stack_history_size=512,export_memory_stats=0"} ) type sanitizerType int