mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-20 19:20:23 +00:00
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:
parent
d4deecd3c7
commit
54dfc2a2be
@ -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