[lld] [LLD][COFF] Add support for custom DOS stub (PR #122561)

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 14 03:23:42 PST 2025


================
@@ -236,6 +236,9 @@ class LinkerDriver {
   void parseSection(StringRef);
   void parseAligncomm(StringRef);
 
+  // Parses a MS-DOS stub file
+  void parseStub(StringRef path);
----------------
zmodem wrote:

I think if you renamed this to `parseDosStub` there would be no need to have a comment for it.

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


More information about the llvm-commits mailing list