Displaying 1 result from an estimated 1 matches for "__llvm_gcov_writeout".
2014 Jun 17
5
[LLVMdev] does ENABLE_COVERAGE work?
.../utils/FileCheck/FileCheck.cpp:1304: error:
undefined reference to '__gcov_init'
The first error that I get when building with Clang 3.4.2 is this:
/home/regehr/tmp/llvm/build/utils/FileCheck/Debug+Coverage+Asserts/FileCheck.o:/home/regehr/tmp/llvm/utils/FileCheck/FileCheck.cpp:function
__llvm_gcov_writeout: error: undefined reference to 'llvm_gcda_start_file'
Is this expected to work? Am I missing something obvious?
Thanks,
John Regehr