summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov/gcov.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-10-14 00:04:19 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-10-14 00:04:19 +0000
commite7dc8bf9c24ca4edd7bbaccf6fe4366208dccff5 (patch)
tree600558d42760793b841f73f7e7e59dddcf2656c6 /llvm/tools/llvm-cov/gcov.cpp
parent89afd1297d67491510a810b874bee8e3c28f33b3 (diff)
downloadbcm5719-llvm-e7dc8bf9c24ca4edd7bbaccf6fe4366208dccff5.tar.gz
bcm5719-llvm-e7dc8bf9c24ca4edd7bbaccf6fe4366208dccff5.zip
Rename one of our two llvm::GCOVOptions classes to llvm::GCOV::Options. We used
to get away with this because llvm/Support/GCOV.h was an implementation detail of the llvm-gcov tool, but it's now being used by FDO. llvm-svn: 250258
Diffstat (limited to 'llvm/tools/llvm-cov/gcov.cpp')
-rw-r--r--llvm/tools/llvm-cov/gcov.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/llvm-cov/gcov.cpp b/llvm/tools/llvm-cov/gcov.cpp
index 4377a50b556..a5343fa29af 100644
--- a/llvm/tools/llvm-cov/gcov.cpp
+++ b/llvm/tools/llvm-cov/gcov.cpp
@@ -26,7 +26,7 @@ using namespace llvm;
static void reportCoverage(StringRef SourceFile, StringRef ObjectDir,
const std::string &InputGCNO,
const std::string &InputGCDA, bool DumpGCOV,
- const GCOVOptions &Options) {
+ const GCOV::Options &Options) {
SmallString<128> CoverageFileStem(ObjectDir);
if (CoverageFileStem.empty()) {
// If no directory was specified with -o, look next to the source file.
@@ -143,8 +143,8 @@ int gcovMain(int argc, const char *argv[]) {
cl::ParseCommandLineOptions(argc, argv, "LLVM code coverage tool\n");
- GCOVOptions Options(AllBlocks, BranchProb, BranchCount, FuncSummary,
- PreservePaths, UncondBranch, LongNames, NoOutput);
+ GCOV::Options Options(AllBlocks, BranchProb, BranchCount, FuncSummary,
+ PreservePaths, UncondBranch, LongNames, NoOutput);
for (const auto &SourceFile : SourceFiles)
reportCoverage(SourceFile, ObjectDir, InputGCNO, InputGCDA, DumpGCOV,
OpenPOWER on IntegriCloud