Skip to content

ASan compile test for MSVC shouldn't pass any linker options #56

@jdumas

Description

@jdumas

Trying to call add_sanitizer_support(address) on Windows with MSVC doesn't enable ASan as expected. This is because check_cxx_compiler_flag() is setup with -fsanitize=address as a CMAKE_REQUIRED_LINK_OPTIONS, which doesn't seem to work well for MSVC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions