diff --git a/llvm/test/tools/llvm-cov/branch-export-lcov.test b/llvm/test/tools/llvm-cov/branch-export-lcov.test --- a/llvm/test/tools/llvm-cov/branch-export-lcov.test +++ b/llvm/test/tools/llvm-cov/branch-export-lcov.test @@ -34,7 +34,7 @@ // CHECK-DAG: BRDA:53,0,1,5 // CHECK-NOT: BRDA // CHECK: BRF:30 -// CHECK: BFH:26 +// CHECK: BRH:26 // Check recursive macro-expansions. // RUN: llvm-profdata merge %S/Inputs/branch-macros.proftext -o %t.profdata @@ -70,4 +70,4 @@ // MACROS-NOT: BRDA:37 // MACROS-NOT: BRDA // MACROS: BRF:40 -// MACROS: BFH:24 +// MACROS: BRH:24 diff --git a/llvm/tools/llvm-cov/CoverageExporterLcov.cpp b/llvm/tools/llvm-cov/CoverageExporterLcov.cpp --- a/llvm/tools/llvm-cov/CoverageExporterLcov.cpp +++ b/llvm/tools/llvm-cov/CoverageExporterLcov.cpp @@ -167,7 +167,7 @@ void renderBranchSummary(raw_ostream &OS, const FileCoverageSummary &Summary) { OS << "BRF:" << Summary.BranchCoverage.getNumBranches() << '\n' - << "BFH:" << Summary.BranchCoverage.getCovered() << '\n'; + << "BRH:" << Summary.BranchCoverage.getCovered() << '\n'; } void renderFile(raw_ostream &OS, const coverage::CoverageMapping &Coverage,