https://llvm.org/bugs/show_bug.cgi?id=23472
Yaron Keren <yaron.ke...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #14 from Yaron Keren <yaron.ke...@gmail.com> --- You are right, I tested on a local patched copy that disables on COFF as dicussed earlier: // The ABI says: It is suggested that it be emitted in the same COMDAT group // as the associated data object llvm::Comdat *C = var->getComdat(); - if (!D.isLocalVarDecl() && C) { + if (!CGM.getTarget().getTriple().isOSBinFormatCOFF() && + !D.isLocalVarDecl() && C) { guard->setComdat(C); CGF.CurFn->setComdat(C); } else if (CGM.supportsCOMDAT() && guard->isWeakForLinker()) { Thanks for noticing! -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs