[PATCH] D41802: Allow users of the GCOV API to extend the FileInfo class to implement custom output formats
Marco Romano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 26 02:22:15 PDT 2018
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL338013: Allow users of the GCOV API to extend the FileInfo class to implement custom… (authored by marco, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D41802?vs=128904&id=157437#toc
Repository:
rL LLVM
https://reviews.llvm.org/D41802
Files:
llvm/trunk/include/llvm/ProfileData/GCOV.h
Index: llvm/trunk/include/llvm/ProfileData/GCOV.h
===================================================================
--- llvm/trunk/include/llvm/ProfileData/GCOV.h
+++ llvm/trunk/include/llvm/ProfileData/GCOV.h
@@ -376,6 +376,7 @@
};
class FileInfo {
+protected:
// It is unlikely--but possible--for multiple functions to be on the same
// line.
// Therefore this typedef allows LineData.Functions to store multiple
@@ -428,7 +429,7 @@
void print(raw_ostream &OS, StringRef MainFilename, StringRef GCNOFile,
StringRef GCDAFile);
-private:
+protected:
std::string getCoveragePath(StringRef Filename, StringRef MainFilename);
std::unique_ptr<raw_ostream> openCoveragePath(StringRef CoveragePath);
void printFunctionSummary(raw_ostream &OS, const FunctionVector &Funcs) const;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41802.157437.patch
Type: text/x-patch
Size: 816 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180726/682d5d47/attachment.bin>
More information about the llvm-commits
mailing list