llvm-cov: Changed extension from .llcov to .gcov.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196530 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Yuchen Wu 2013-12-05 20:45:36 +00:00
parent d4deecd3c7
commit 54dfc2a2be
3 changed files with 2 additions and 3 deletions

View File

@ -367,7 +367,7 @@ void FileInfo::print(StringRef GCNOFile, StringRef GCDAFile) const {
}
StringRef AllLines = Buff->getBuffer();
std::string CovFilename = Filename.str() + ".llcov";
std::string CovFilename = Filename.str() + ".gcov";
std::string ErrorInfo;
raw_fd_ostream OS(CovFilename.c_str(), ErrorInfo);
if (!ErrorInfo.empty())

View File

@ -6,8 +6,7 @@ RUN: cd %t
RUN: cp %p/Inputs/test* .
RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda
RUN: diff -aub test.cpp.gcov test.cpp.llcov
RUN: rm test.cpp.llcov
RUN: diff -aub test.cpp.orig_gcov test.cpp.gcov
RUN: not llvm-cov -gcno=test_read_fail.gcno -gcda=test.gcda