[clang] [LinkerWrapper] Accept some needed lld-link linker arguments for COFF targets (PR #72889)
Michael Kruse via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 22 12:40:37 PST 2023
================
@@ -126,3 +126,8 @@ def version : Flag<["--", "-"], "version">, Flags<[HelpHidden]>, Alias<v>;
def whole_archive : Flag<["--", "-"], "whole-archive">, Flags<[HelpHidden]>;
def no_whole_archive : Flag<["--", "-"], "no-whole-archive">, Flags<[HelpHidden]>;
+
+// COFF-style linker options.
+def out : Joined<["/", "-", "/?", "-?"], "out:">, Flags<[HelpHidden]>;
----------------
Meinersbur wrote:
Feels strange to me, but justification is in 4b81e9f8d10214fbb2c8e1a367a60801a5dd5fed
https://github.com/llvm/llvm-project/pull/72889
More information about the cfe-commits
mailing list