[lld] [LLD][COFF] Add support for custom section layout (PR #152779)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 29 01:21:02 PDT 2025


================
@@ -214,6 +214,46 @@ void LinkerDriver::parseSection(StringRef s) {
   ctx.config.section[name] = parseSectionAttributes(ctx, attrs);
 }
 
+// Parses /sectionlayout:@ option argument.
----------------
mstorsjo wrote:

Ditto here - I'd remove the `@` here as it works with both forms.

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


More information about the llvm-commits mailing list