[Coverage] Use the new getInstrProfSectionName API (NFC)
llvm-svn: 300382
This commit is contained in:
parent
1a6a2b642b
commit
8a767a430d
|
@ -962,7 +962,9 @@ struct CounterCoverageMappingBuilder
|
|||
};
|
||||
|
||||
std::string getCoverageSection(const CodeGenModule &CGM) {
|
||||
return llvm::getInstrProfCoverageSectionName(&CGM.getModule());
|
||||
return llvm::getInstrProfSectionName(
|
||||
llvm::IPSK_covmap,
|
||||
CGM.getContext().getTargetInfo().getTriple().getObjectFormat());
|
||||
}
|
||||
|
||||
std::string normalizeFilename(StringRef Filename) {
|
||||
|
|
Loading…
Reference in New Issue