RFR: JDK-8300254: ASan build does not correctly propagate ASAN_OPTIONS

Justin King jcking at openjdk.org
Tue Jan 17 13:59:01 UTC 2023


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.

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

Commit messages:
 - Fix comma placement
 - Preemptively support LSan
 - Update ASan build to apply default options consistently

Changes: https://git.openjdk.org/jdk/pull/12039/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12039&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8300254
  Stats: 78 lines in 4 files changed: 63 ins; 11 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/12039.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12039/head:pull/12039

PR: https://git.openjdk.org/jdk/pull/12039



More information about the build-dev mailing list