[lld] [LLD][COFF] Handle --start-lib/--end-lib group in the same way as other archives (PR #136496)

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 9 16:14:34 PDT 2025


================
@@ -40,6 +44,11 @@ std::vector<StringRef> getLines(MemoryBufferRef mb);
 
 StringRef getFilenameWithoutExe(StringRef path);
 
+StringRef getOptionSpellingLikeArg(llvm::opt::OptTable &optTable,
+                                   llvm::opt::OptSpecifier opt,
+                                   llvm::opt::Arg *arg,
+                                   llvm::StringSaver &saver);
+
----------------
sbc100 wrote:

Is this utility function going to be used by the other linker backends soon?

If not, maybe it doesn't belong in Common?

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


More information about the llvm-commits mailing list