[llvm-branch-commits] [lld] release/20.x: Backport [LLD][COFF] Disallow importing DllMain from import libraries (#146610) (PR #146699)

Martin Storsjö via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 3 13:54:26 PDT 2025


================
@@ -313,6 +313,7 @@ struct Configuration {
   bool warnDebugInfoUnusable = true;
   bool warnLongSectionNames = true;
   bool warnStdcallFixup = true;
+  bool warnExportedDllMain = true;
----------------
mstorsjo wrote:

I don't think this is an installed header though?

https://github.com/llvm/llvm-project/pull/146699


More information about the llvm-branch-commits mailing list