Merge "[hwasan] Reduce history size to save memory." am: 3181721a1e

am: 8801703a91

Change-Id: I27705b2f968660d117c1870f9c4b3aa28c319e6e
This commit is contained in:
Evgenii Stepanov
2018-12-19 00:35:13 -08:00
committed by android-build-merger

View File

@@ -58,7 +58,7 @@ var (
// TODO(pcc): Remove the -Xclang once LLVM r346526 is rolled into the compiler.
minimalRuntimeFlags = []string{"-Xclang", "-fsanitize-minimal-runtime", "-fno-sanitize-trap=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