[lld] [LLD] Add CLASS syntax to SECTIONS (PR #95323)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 14:52:00 PDT 2024


================
@@ -137,6 +137,25 @@ struct OutputDesc final : SectionCommand {
   }
 };
 
+// A list of input sections that can be referenced in output descriptions.
----------------
MaskRay wrote:

// This represents a `CLASS(class_name) { ... }` that can be referenced by output section descriptions. If referenced more than once, the sections can be spilled to the next reference like --enable-non-contiguous-regions.

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


More information about the llvm-commits mailing list