RFR: 8334239: Introduce macro for ubsan method/function exclusions

Thomas Stuefe stuefe at openjdk.org
Mon Jun 17 06:16:12 UTC 2024


On Mon, 17 Jun 2024 05:34:33 GMT, David Holmes <dholmes at openjdk.org> wrote:

> In keeping with address.hpp and leak.hpp the header would either be called undefinedbehaviour.hpp or just ub.hpp for short.
> 
> I think the actual attribute would read better if placed on the line before the function definition.
> 
> Thanks.

I vote for ubsan.hpp and asan.hpp, or for a common header sanitizer.hpp.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/19722#issuecomment-2172368124


More information about the hotspot-dev mailing list