mirror of
https://github.com/intel/llvm.git
synced 2026-02-01 00:46:45 +08:00
Use new triple API to check comdat /NFC
llvm-svn: 270728
This commit is contained in:
@@ -7818,7 +7818,7 @@ const llvm::Triple &CodeGenModule::getTriple() const {
|
||||
}
|
||||
|
||||
bool CodeGenModule::supportsCOMDAT() const {
|
||||
return !getTriple().isOSBinFormatMachO();
|
||||
return getTriple().supportsCOMDAT();
|
||||
}
|
||||
|
||||
const TargetCodeGenInfo &CodeGenModule::getTargetCodeGenInfo() {
|
||||
|
||||
Reference in New Issue
Block a user