Ship ubsan in releases
Look into shipping ubsan in release builds. The ubsan trap mode may strike a good balance with code size. Think about compiler stability of the ubsan interface, if the compiler is upgraded, will it still be able to build the latest release?
Let @johnregehr (https://twitter.com/johnregehr/status/901192955033141248) know how this works out.