Skip to content

[NSAN] numerical-sanitizer not available as shared library #98302

@VinInn

Description

@VinInn

the numerical sanitizer is currently linked as whole-archive in the main program.
-shared-libsan does not seem to have any effect.
nsan symbols are left undefined when building a shared library that will fail to link if -Wl,-z,defs is used.
This makes the numerical sanitizer unusable in any "plugin" to be dynamically loaded by an external framework.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cmakeBuild system in general and CMake in particularcompiler-rt:nsanNumerical stability sanitizer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions