RFR: JDK-8300254: ASan build does not correctly propagate ASAN_OPTIONS
Justin King
jcking at openjdk.org
Tue Jan 17 14:17:13 UTC 2023
On Tue, 17 Jan 2023 13:50:48 GMT, Justin King <jcking at openjdk.org> wrote:
> Update ASan build to use the same approach as UBSan for setting default options. The main difference is that we only want to change the default ASan options for processes which launch the JVM. We do this by only compiling the default options in the common launcher build file.
@magicus Applies similar approach as UBSan to ASan, but only for launchers rather than every binary. Building with ASan then running tier1 tests results in lots of failures, a bunch from `ASAN_OPTIONS` not making it to the underlying JVM under test and disabling leak detection which is not yet compatible with Hotspot. Rather than attempting to play whack-a-mole with propagating `ASAN_OPTIONS`, we use the same trick as UBSan and compile the defaults into the binary.
-------------
PR: https://git.openjdk.org/jdk/pull/12039
More information about the build-dev
mailing list