<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hello everyone,</p>
<p><br>
</p>
<p>I'm trying to compile a bitcode to binary using clang with --coverage and -lgcov and it crashes in GCOVProfiling::WriteOut function.</p>
<p>Here is the command I'm using</p>
<p><span>      clang --coverage memcached-debug.x.bc -o memcached-debug -pthread -levent -levent_core -lgcov</span><br>
</p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">Clang version is 6.0. </span><br>
</p>
<p><span>Any ideas what is wrong here?</span></p>
<p><span><br>
</span></p>
<p><span>Please let me know if you need the whole seg-fault dump. </span></p>
<p><span><br>
</span></p>
<p><span>Best,</span></p>
<p><span>Anahit.</span></p>
</div>
</body>
</html>