1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

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

llvm-svn: 196530
This commit is contained in:
Yuchen Wu 2013-12-05 20:45:36 +00:00
parent f4228e2204
commit dda2c44c38
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