[clang] [clang] Fix --entry command line option (PR #69114)

Sergei Barannikov via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 26 07:57:29 PDT 2023


================
@@ -5474,7 +5474,8 @@ def _dyld_prefix_EQ : Joined<["--"], "dyld-prefix=">;
 def _dyld_prefix : Separate<["--"], "dyld-prefix">, Alias<_dyld_prefix_EQ>;
 def _encoding_EQ : Joined<["--"], "encoding=">, Alias<fencoding_EQ>;
 def _encoding : Separate<["--"], "encoding">, Alias<fencoding_EQ>;
-def _entry : Flag<["--"], "entry">, Alias<e>;
+def : Joined<["--"], "entry=">, Flags<[LinkerInput]>, Group<Link_Group>, Alias<e>;
+def _entry : Separate<["--"], "entry">, Flags<[LinkerInput]>, Group<Link_Group>, Alias<e>;
----------------
s-barannikov wrote:

This should also be unnamed, I guess?


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


More information about the cfe-commits mailing list