<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 17 June 2014 12:48, John Regehr <span dir="ltr"><<a href="mailto:regehr@cs.utah.edu" target="_blank">regehr@cs.utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Hi,<br>
<br>
I'd like to see what parts of LLVM/Clang are being executed.<br></blockquote><div><br></div><div>By the way, there is <a href="http://buildd-clang.debian.net/coverage/">http://buildd-clang.debian.net/coverage/</a> which is a regularly updated run of llvm and clang at head plus their regression test suites. That won't help you look at coverage for your own testcases of course, but you didn't actually say why you wanted it.</div>

<div><br></div><div>Nick</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I know that "make ENABLE_COVERAGE=1" used to just work, but so far (on 64-bit Ubuntu 14.04) I've had no luck building either 3.4.x or SVN head using any of Clang 3.4, Clang head, or a recent GCC.<br>


<br>
The first error that I get when building with GCC is this:<br>
<br>
/home/regehr/tmp/llvm/utils/<u></u>FileCheck/FileCheck.cpp:1304: error: undefined reference to '__gcov_init'<br>
<br>
The first error that I get when building with Clang 3.4.2 is this:<br>
<br>
/home/regehr/tmp/llvm/build/<u></u>utils/FileCheck/Debug+<u></u>Coverage+Asserts/FileCheck.o:/<u></u>home/regehr/tmp/llvm/utils/<u></u>FileCheck/FileCheck.cpp:<u></u>function __llvm_gcov_writeout: error: undefined reference to 'llvm_gcda_start_file'<br>


<br>
Is this expected to work?  Am I missing something obvious?<br>
<br>
Thanks,<br>
<br>
John Regehr<br>
<br>
______________________________<u></u>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvmdev</a><br>
</blockquote></div><br></div></div>