commit | 31b66c76c82effc22894c9f6aa81b1fc62e674b7 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed Jun 23 21:30:46 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Jun 23 21:30:46 2021 +0000 |
tree | 63ed0ae40a10167cc7c276610f3ac25bb0fbbb21 | |
parent | 17c4507decb7cd68a5dfc690c2a7dbe7df54adf9 [diff] | |
parent | b15a564869dada75d78f72489fc50138cd314764 [diff] |
Merge "Disable ubsan diagnostics under HWASan."
diff --git a/cc/sanitize.go b/cc/sanitize.go index 513730a..b0eb0c6 100644 --- a/cc/sanitize.go +++ b/cc/sanitize.go
@@ -485,6 +485,11 @@ 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