[lld] [LLD][COFF] Add ignored linker flags (PR #150815)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 26 21:19:01 PDT 2025
https://github.com/kkent030315 updated https://github.com/llvm/llvm-project/pull/150815
>From 524c5fae527ea0416f9e80e353456e992b86199f Mon Sep 17 00:00:00 2001
From: kkent030315 <hrn832 at protonmail.com>
Date: Sun, 27 Jul 2025 13:02:01 +0900
Subject: [PATCH] [LLD][COFF] Add ignored linker flags
---
lld/COFF/Options.td | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/lld/COFF/Options.td b/lld/COFF/Options.td
index 2a82fb5cd8845..bede3fb9e3037 100644
--- a/lld/COFF/Options.td
+++ b/lld/COFF/Options.td
@@ -353,6 +353,16 @@ def fastfail : F<"fastfail">;
def kernel : F<"kernel">;
def pdbcompress : F<"pdbcompress">;
def emitpogophaseinfo : F<"emitpogophaseinfo">;
+def emittoolversioninfo: B<
+ "emittoolversioninfo",
+ "Emit a tool version info after DOS header (so-called Rich header, default)",
+ "Do not emit a tool version info after DOS header (so-scalled Ricb header)">;
+def novcfeature: F<
+ "novcfeature",
+ "Embeds tool version info in debug directory (default)">;
+def nocoffgrpinfo: F<
+ "nocoffgrpinfo",
+ "Embeds COFFGRP info in debug directory (default)">;
def noexp : F<"noexp">;
def delay : P_priv<"delay">;
More information about the llvm-commits
mailing list