[lld] [LLD][COFF] Add /noexp for link.exe compatibility (PR #128814)

via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 25 20:17:59 PST 2025


https://github.com/A2uria created https://github.com/llvm/llvm-project/pull/128814

See #107346

>From 41fd246c917063c1711ce09443d5e2543dff90b3 Mon Sep 17 00:00:00 2001
From: A2uria <a2uria at qq.com>
Date: Wed, 26 Feb 2025 12:16:11 +0800
Subject: [PATCH] [LLD][COFF] Add /noexp for link.exe compatibility

---
 lld/COFF/Options.td | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lld/COFF/Options.td b/lld/COFF/Options.td
index b6fd3d0daaef9..4e401a5fd1d6d 100644
--- a/lld/COFF/Options.td
+++ b/lld/COFF/Options.td
@@ -342,6 +342,7 @@ def fastfail : F<"fastfail">;
 def kernel : F<"kernel">;
 def pdbcompress : F<"pdbcompress">;
 def emitpogophaseinfo : F<"emitpogophaseinfo">;
+def noexp : F<"noexp">;
 
 def delay : P_priv<"delay">;
 def errorreport : P_priv<"errorreport">;



More information about the llvm-commits mailing list