llvm.org GIT mirror llvm / 706cb9d
[llvm-cov] Use string getters (NFC) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271537 91177308-0d34-0410-b5e6-96231b3b80d8 Vedant Kumar 4 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/Object/ObjectFile.h"
10 #include "llvm/ProfileData/InstrProf.h"
1011 #include "llvm/Support/CommandLine.h"
1112 #include "llvm/Support/LEB128.h"
1213 #include "llvm/Support/ManagedStatic.h"
5758 StringRef Name;
5859 if (Section.getName(Name))
5960 return 1;
60 if (Name == "__llvm_prf_names") {
61 if (Name == llvm::getInstrProfNameSectionName(false)) {
6162 ProfileNames = Section;
62 } else if (Name == "__llvm_covmap") {
63 } else if (Name == llvm::getInstrProfCoverageSectionName(false)) {
6364 CoverageMapping = Section;
6465 } else
6566 continue;