commit | adb163e354be7ceca1ff498fbac2971af3f00982 | [log] [tgz] |
---|---|---|
author | Tri Vo <trong@google.com> | Tue Jun 08 13:41:26 2021 -0700 |
committer | Tri Vo <trong@google.com> | Tue Jun 08 13:48:43 2021 -0700 |
tree | 43f880482de9bbc6b4e32cf46fa020fce395d011 | |
parent | 6159881f4c9e3aa7a2bc47d3bf7ed455c6ac6f7f [diff] |
[lib][ubsan] Remove UBSAN_HARD_FAIL option This option is never intentionally set to false. However, it can cause complications if CFI is enabled, but UBSan is not. In this case the flag needs to be explicitly set to true. It simpler to just avoid the complexity. Also, the behavior of UBSAN_HARD_FAIL := false is ill-defined, since there is no way to guarantee a recovery from a UB. Bug: 190293335 Test: trigger UBSan failure Change-Id: Ia05586780c3b45231ebeeed1ce791e77a93526db