summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR
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/lib/IR
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/lib/IR')
-rw-r--r--llvm/lib/IR/GCOV.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/GCOV.cpp b/llvm/lib/IR/GCOV.cpp
index 6ed58913172..35b8157751b 100644
--- a/llvm/lib/IR/GCOV.cpp
+++ b/llvm/lib/IR/GCOV.cpp
@@ -448,7 +448,7 @@ static uint32_t branchDiv(uint64_t Numerator, uint64_t Divisor) {
namespace {
struct formatBranchInfo {
- formatBranchInfo(const GCOVOptions &Options, uint64_t Count, uint64_t Total)
+ formatBranchInfo(const GCOV::Options &Options, uint64_t Count, uint64_t Total)
: Options(Options), Count(Count), Total(Total) {}
void print(raw_ostream &OS) const {
@@ -460,7 +460,7 @@ struct formatBranchInfo {
OS << "taken " << branchDiv(Count, Total) << "%";
}
- const GCOVOptions &Options;
+ const GCOV::Options &Options;
uint64_t Count;
uint64_t Total;
};
OpenPOWER on IntegriCloud