Use new triple API to check comdat /NFC

llvm-svn: 270728
This commit is contained in:
Xinliang David Li 2016-05-25 17:25:57 +00:00
parent a228608b26
commit 865cfdd727
1 changed files with 1 additions and 1 deletions

View File

@ -7818,7 +7818,7 @@ const llvm::Triple &CodeGenModule::getTriple() const {
}
bool CodeGenModule::supportsCOMDAT() const {
return !getTriple().isOSBinFormatMachO();
return getTriple().supportsCOMDAT();
}
const TargetCodeGenInfo &CodeGenModule::getTargetCodeGenInfo() {