<div dir="ltr">Justin,<div><br></div><div>I haven't seen this before. I suspect it is because of line-tables-only. Can you try it with full debug info?</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Mar 7, 2017 at 12:36 PM Kostya Serebryany <<a href="mailto:kcc@google.com">kcc@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">+aizatsky</div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Tue, Mar 7, 2017 at 12:34 PM, Justin Bogner <span dir="ltr" class="gmail_msg"><<a href="mailto:mail@justinbogner.com" class="gmail_msg" target="_blank">mail@justinbogner.com</a>></span> wrote:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm working on a fuzzer using libFuzzer and I wanted to take a look at<br class="gmail_msg">
how my coverage was doing, as per the instructions here:<br class="gmail_msg">
<br class="gmail_msg">
<a href="http://llvm.org/docs/LibFuzzer.html#how-good-is-my-fuzzer" rel="noreferrer" class="gmail_msg" target="_blank">http://llvm.org/docs/LibFuzzer.html#how-good-is-my-fuzzer</a><br class="gmail_msg">
<br class="gmail_msg">
First of all, I suspect the instructions there are out of date, but<br class="gmail_msg">
passing -dump_coverage=1 to the binary rather than setting ASAN_OPTIONS<br class="gmail_msg">
generated a .sancov file for me.<br class="gmail_msg">
<br class="gmail_msg">
However, when I inspect this with the sancov tool, all of the line<br class="gmail_msg">
numbers it reports are "<invalid>:0". I can list the covered and<br class="gmail_msg">
uncovered functions successfully, but without locations it's really hard<br class="gmail_msg">
to do anything with that information.<br class="gmail_msg">
<br class="gmail_msg">
I've built with -gline-tables-only, as is the default when building llvm<br class="gmail_msg">
with sanitizers enabled.<br class="gmail_msg">
<br class="gmail_msg">
Have you seen this before? Am I doing something obviously wrong?<br class="gmail_msg">
</blockquote></div><br class="gmail_msg"></div>
</blockquote></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr">Mike<br>Sent from phone</div></div>