[llvm] MC: Merge MCFragment.h into MCSection.h (PR #146315)
Alexis Engelke via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 30 00:58:14 PDT 2025
================
@@ -30,9 +33,97 @@ class MCContext;
class MCExpr;
class MCObjectStreamer;
class MCSymbol;
+class MCSection;
+class MCSubtargetInfo;
class raw_ostream;
class Triple;
+// Represents a contiguous piece of code or data within a section. Its size is
+// determined by MCAssembler::layout. All subclasses (except
+// MCRelaxableFragment, which stores a MCInst) must have trivial destructors.
+//
+// MCSection's inline functions may access MCFragment members.
----------------
aengelke wrote:
My bad, sorry.
https://github.com/llvm/llvm-project/pull/146315
More information about the llvm-commits
mailing list