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

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


================
@@ -78,7 +80,8 @@ enum SectionsCommandKind {
   AssignmentKind, // . = expr or <sym> = expr
   OutputSectionKind,
   InputSectionKind,
-  ByteKind    // BYTE(expr), SHORT(expr), LONG(expr) or QUAD(expr)
+  ByteKind, // BYTE(expr), SHORT(expr), LONG(expr) or QUAD(expr)
+  ClassKind,
----------------
MaskRay wrote:

Add `// CLASS(class_name)`

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


More information about the llvm-commits mailing list