Merge "Revert "Disable ubsan diagnostics under HWASan."" am: d30fcb15a9 am: 3eab590303 am: aca699e608

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1931386

Change-Id: Ia716ce92577441866040400049c5c1c9ce312f86
This commit is contained in:
Evgenii Stepanov
2021-12-22 23:25:20 +00:00
committed by Automerger Merge Worker

View File

@@ -539,11 +539,6 @@ func (sanitize *sanitize) begin(ctx BaseModuleContext) {
if Bool(s.Hwaddress) {
s.Address = nil
s.Thread = nil
// Disable ubsan diagnosic as a workaround for a compiler bug.
// TODO(b/191808836): re-enable.
s.Diag.Undefined = nil
s.Diag.Integer_overflow = nil
s.Diag.Misc_undefined = nil
}
// TODO(b/131771163): CFI transiently depends on LTO, and thus Fuzzer is