[lld] [LLD] [MinGW] Ignore --sort-common option (PR #66336)

Julien Schueller via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 00:59:42 PDT 2023


https://github.com/jschueller created https://github.com/llvm/llvm-project/pull/66336:

like done in the ELF side

cc @mstorsjo 

>From acb9617602bbc636db0c24677c2fd9264e7b78e2 Mon Sep 17 00:00:00 2001
From: Julien Schueller <schueller at phimeca.com>
Date: Thu, 14 Sep 2023 09:59:19 +0200
Subject: [PATCH] [LLD] [MinGW] Ignore --sort-common option

like done in the ELF side
---
 lld/MinGW/Options.td | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lld/MinGW/Options.td b/lld/MinGW/Options.td
index e9c4ada404568b3..f59bd5bc38a8db8 100644
--- a/lld/MinGW/Options.td
+++ b/lld/MinGW/Options.td
@@ -223,6 +223,7 @@ def: F<"no-undefined">;
 def: F<"pic-executable">;
 defm: EqNoHelp<"plugin">;
 defm: EqNoHelp<"sysroot">;
+def: F<"sort-common">;
 def: F<"start-group">;
 
 // Ignore GCC collect2 LTO plugin related options. Note that we don't support



More information about the llvm-commits mailing list