Merge "Enable ubsan check flag in build"

This commit is contained in:
Colin Cross 2017-07-25 17:48:06 +00:00 committed by Gerrit Code Review
commit adc0e17019

View file

@ -285,9 +285,6 @@ func (sanitize *sanitize) flags(ctx ModuleContext, flags Flags) Flags {
if Bool(sanitize.Properties.Sanitize.All_undefined) {
sanitizers = append(sanitizers, "undefined")
if ctx.Device() {
ctx.ModuleErrorf("ubsan is not yet supported on the device")
}
} else {
if Bool(sanitize.Properties.Sanitize.Undefined) {
sanitizers = append(sanitizers,