mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-28 06:24:57 +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:
@ -367,7 +367,7 @@ void FileInfo::print(StringRef GCNOFile, StringRef GCDAFile) const {
|
|||||||
}
|
}
|
||||||
StringRef AllLines = Buff->getBuffer();
|
StringRef AllLines = Buff->getBuffer();
|
||||||
|
|
||||||
std::string CovFilename = Filename.str() + ".llcov";
|
std::string CovFilename = Filename.str() + ".gcov";
|
||||||
std::string ErrorInfo;
|
std::string ErrorInfo;
|
||||||
raw_fd_ostream OS(CovFilename.c_str(), ErrorInfo);
|
raw_fd_ostream OS(CovFilename.c_str(), ErrorInfo);
|
||||||
if (!ErrorInfo.empty())
|
if (!ErrorInfo.empty())
|
||||||
|
@ -6,8 +6,7 @@ RUN: cd %t
|
|||||||
RUN: cp %p/Inputs/test* .
|
RUN: cp %p/Inputs/test* .
|
||||||
|
|
||||||
RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda
|
RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda
|
||||||
RUN: diff -aub test.cpp.gcov test.cpp.llcov
|
RUN: diff -aub test.cpp.orig_gcov test.cpp.gcov
|
||||||
RUN: rm test.cpp.llcov
|
|
||||||
|
|
||||||
RUN: not llvm-cov -gcno=test_read_fail.gcno -gcda=test.gcda
|
RUN: not llvm-cov -gcno=test_read_fail.gcno -gcda=test.gcda
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user