RFR: 8334618: ubsan: support setting additional ubsan check options [v3]
Erik Joelsson
erikj at openjdk.org
Mon Jun 24 08:49:26 UTC 2024
On Fri, 21 Jun 2024 08:29:37 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> Sometimes it would be helpful to have configure-support for adding additional ubsan check options.
>> E.g. support new configure option '--with-additional-ubsan-checks=<check-settings>' .
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>
> more lines
We could have both `--with-ubsan-checks=` and `--with-additional-ubsan-checks` if you think it would be useful. Without having any experience using ubsan, I would guess that there is rarely a case for reducing from the default set, so if going for just one, adding to the set seems more convenient. Overriding the set could be achieved using C/C++ flags directly, though more inconvenient.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19802#issuecomment-2185947439
More information about the build-dev
mailing list