Issue |
98302
|
Summary |
[NSAN] numerical-sanitizer not available as shared library
|
Labels |
new issue
|
Assignees |
|
Reporter |
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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs