<div dir="ltr"><div>Hi All,</div><div><br></div><div>I am using llvm-cov in gcov mode. The options, as given below, work when using llvm 3.5 but do not when using latest svn llvm/clang 3.7.  I cannot find the correct alternatives to this set of options for llvm 3.7.  I know I can use gnu gcov or use -fprofile-instr-generate but I am hoping you can tell me the correct options for 3.7 clang and llvm-cov gcov or has the llvm-cov/clang in gcov mode been deprecated ?</div><div><br></div><div>I have been trying the following:</div><div><br></div><div>******begin test.cpp********</div><div>int foo()</div><div>{</div><div>   return 0;</div><div>}</div><div><br></div><div>int main()</div><div>{</div><div>   foo();</div><div>}</div><div>*****end test,cpp*****</div><div><br></div><div>*****begin bash******</div><div>$ clang -g -O0 --coverage test.cpp -o test</div><div>$ ./test</div><div>$ llvm-cov gcov test.cpp</div><div><br></div><div>$ Unexpected number of edges (in _Z3foov).</div><div>$ Invalid .gcda File!</div><div><br></div><div>$clang -g -O0 --coverage -Xclang -coverage-cfg-checksum -Xclang -coverage-no-function-names-in-data -Xclang -coverage-version='402*' test.cpp -o test</div><div>$ ./test</div><div>$ llvm-cov gcov test.cpp</div><div><br></div><div>$ Unexpected end of memory buffer: 270637176.</div><div>$ Invalid .gcno File!</div><div>*****end bash******</div><div><br></div><div>Thanks in advance for your help,</div><div><br></div><div>Pierre Gousseau</div><div>SN Systems - Sony Computer Entertainment</div></div>