MaskRay added inline comments.
================ Comment at: lib/CodeGen/CGDeclCXX.cpp:494 // too. AddGlobalCtor(Fn, 65535, COMDATKey); } else { ---------------- Confirmed with `lld-link -subsystem:console -opt:ref -debug:symtab a.o b.o c.o -entry:main -out:win.exe` that `__declspec(selectany)` can be linker GCed. Sent D106925 to fix it. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D60912/new/ https://reviews.llvm.org/D60912 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits