[cfe-dev] Clang crashes when using --coverage -lgcov

Hayrapetyan, Anahit via cfe-dev cfe-dev at lists.llvm.org
Thu May 2 15:00:49 PDT 2019


Hello everyone,


I'm trying to compile a bitcode to binary using clang with --coverage and -lgcov and it crashes in GCOVProfiling::WriteOut function.

Here is the command I'm using

      clang --coverage memcached-debug.x.bc -o memcached-debug -pthread -levent -levent_core -lgcov


Clang version is 6.0.

Any ideas what is wrong here?


Please let me know if you need the whole seg-fault dump.


Best,

Anahit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190502/7ac3b846/attachment.html>


More information about the cfe-dev mailing list