Apply minimal runtime to the rest of ubsan. am: ae6ae1d880

am: 8a33fadc1e

Change-Id: Ide2724643ba4e899a6e7bd381380200b63134a9f
This commit is contained in:
Ivan Lozano
2018-10-09 08:23:30 -07:00
committed by android-build-merger

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