forked from OSchip/llvm-project
[Profile] PE binary coverage bug fix
PR/32584 Differential Revision: https://reviews.llvm.org/D32023 llvm-svn: 300279
This commit is contained in:
parent
3bb31c8c49
commit
f0e879dffd
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue