RFR: JDK-8302599: Extend ASan support to Microsoft Visual C++

Thomas Stüfe thomas.stuefe at gmail.com
Thu Feb 16 13:38:37 UTC 2023


I’m curious, why does the options function have to be exported? Who is
consuming it?

On Wed 15. Feb 2023 at 19:01, Justin King <jcking at openjdk.org> wrote:

> Update build-related infrastructure to support building with ASan under
> Microsoft Visual C++.
>
> -------------
>
> Commit messages:
>  - Move comment to appropriate location
>  - Use elif instead of separate if
>  - Only pass -fsanitize=address to linker for Clang/GCC
>  - Update asan_default_options.c with MSVC-specific extensions
>  - Support using ASan with MSVC
>
> Changes: https://git.openjdk.org/jdk/pull/12580/files
>  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12580&range=00
>   Issue: https://bugs.openjdk.org/browse/JDK-8302599
>   Stats: 25 lines in 2 files changed: 18 ins; 0 del; 7 mod
>   Patch: https://git.openjdk.org/jdk/pull/12580.diff
>   Fetch: git fetch https://git.openjdk.org/jdk pull/12580/head:pull/12580
>
> PR: https://git.openjdk.org/jdk/pull/12580
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20230216/e6eeacc9/attachment.htm>


More information about the build-dev mailing list