Apply minimal runtime to the rest of ubsan.

am: ae6ae1d880

Change-Id: I379d342ade35afc5c17c3cb205eace470f7b3bc9
This commit is contained in:
Ivan Lozano 2018-10-09 08:17:27 -07:00 committed by android-build-merger
commit 8a33fadc1e
1 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,8 @@ var (
hwasanStaticLibsMutex sync.Mutex
intOverflowCflags = []string{"-fsanitize-blacklist=build/soong/cc/config/integer_overflow_blacklist.txt"}
minimalRuntimeFlags = []string{"-fsanitize-minimal-runtime", "-fno-sanitize-trap=integer", "-fno-sanitize-recover=integer"}
minimalRuntimeFlags = []string{"-fsanitize-minimal-runtime", "-fno-sanitize-trap=integer,undefined",
"-fno-sanitize-recover=integer,undefined"}
)
type sanitizerType int