clang++ - Clangs SanitizerCoverage with shared libraries -


i having trouble in using sancovtool of clang shared libraries.
while works documented simple binary not able work shared libraries.

whenever use shared library program *.sancov file when try report sancov receive following error message:

ignoring libmylib.so , coverage because __sanitizer_cov* functions not found.

it seems problem stems fact the sanitizer functions unresolved in shared library. not sure though.

nm libmylib.so | grep saniti
u __sanitizer_cov
u __sanitizer_cov_module_init
u __sanitizer_cov_with_check

can give me hint doing wrong?


Comments

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -