rnk added a comment.

What do you think of letting people spell this as `-lmsvcrt120`? We could 
forward those options and suppress our implicit addition of `-lmsvcrt` if we 
see `-lmsvcr*` anywhere.



================
Comment at: lib/Driver/ToolChains/MinGW.cpp:161
       if (TC.getArch() == llvm::Triple::x86)
-        CmdArgs.push_back("_DllMainCRTStartup@12");
+        CmdArgs.push_back("DllMainCRTStartup@12");
       else
----------------
I guess ld.bfd for COFF does some wacky name mangling. =/


https://reviews.llvm.org/D37530



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to