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

am: cff8c6cd03

Change-Id: I67acf57ba309fd9a28e8e07dea96020b6d4d8b31
This commit is contained in:
Evgenii Stepanov
2018-12-19 00:44:53 -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. // 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