mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
llvm-cov: Changed extension from .llcov to .gcov.
llvm-svn: 196530
This commit is contained in:
parent
f4228e2204
commit
dda2c44c38
@ -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())
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user