Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By default, UBSan reports runtime errors but does not stop execution. We already abort in debug builds, and this commit makes us also abort in regular builds when UBSan is enabled. Arguably, this is what users expect when they enable UBSan, so it is a good default. I know I've missed some UBSan bugs in the past because of this issue, and dergoegge mentioned that this also happened to him.
- Loading branch information