Merge "[hwasan] Reduce history size to save memory."
This commit is contained in:
@@ -58,7 +58,7 @@ var (
|
|||||||
// TODO(pcc): Remove the -Xclang once LLVM r346526 is rolled into the compiler.
|
// TODO(pcc): Remove the -Xclang once LLVM r346526 is rolled into the compiler.
|
||||||
minimalRuntimeFlags = []string{"-Xclang", "-fsanitize-minimal-runtime", "-fno-sanitize-trap=integer,undefined",
|
minimalRuntimeFlags = []string{"-Xclang", "-fsanitize-minimal-runtime", "-fno-sanitize-trap=integer,undefined",
|
||||||
"-fno-sanitize-recover=integer,undefined"}
|
"-fno-sanitize-recover=integer,undefined"}
|
||||||
hwasanGlobalOptions = []string{"heap_history_size=4095"}
|
hwasanGlobalOptions = []string{"heap_history_size=1023,stack_history_size=512"}
|
||||||
)
|
)
|
||||||
|
|
||||||
type sanitizerType int
|
type sanitizerType int
|
||||||
|
Reference in New Issue
Block a user