PR/32584 Differential Revision: https://reviews.llvm.org/D32023 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300279 91177308-0d34-0410-b5e6-96231b3b80d8
@@ -966,7 +966,7 @@ bool isMachO(const CodeGenModule &CGM) {
}
StringRef getCoverageSection(const CodeGenModule &CGM) {
- return llvm::getInstrProfCoverageSectionName(isMachO(CGM));
+ return llvm::getInstrProfCoverageSectionName(&CGM.getModule());
std::string normalizeFilename(StringRef Filename) {