commit | 7e78fa915a139c76f143bb6ca5cf7203296c8ba0 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Tue Jul 02 13:04:47 2019 -0700 |
committer | Matthew Maurer <mmaurer@google.com> | Tue Jul 02 20:40:29 2019 +0000 |
tree | 4b68ac54ebe5eb334acd25ed79320d86beb05c94 | |
parent | 090021389bd01085c623b466feaad601234a4332 [diff] |
Add support for UBSan's invalid builtin check This is needed to check calls to __builtin_clz for a zero argument. All our existing checks were optimized out because the compiler could statically determine the operand was nonzero. Bug: 136576760 Change-Id: I4f47e04e58a38c62b0bd87f6051776e5a588cff8