[llvm] [MC] Move MCFragment::Atom to MCSection::Atoms (PR #95341)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 09:56:04 PDT 2024


================
@@ -111,6 +113,9 @@ class MCSection {
   // subsections.
   SmallVector<std::pair<unsigned, FragList>, 1> Subsections;
 
+  // Mach-O only: the defining non-temporary symbol for each fragment.
+  SmallVector<const MCSymbol *, 0> Atoms;
----------------
s-barannikov wrote:

Should this be moved to MCSectionMachO?


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


More information about the llvm-commits mailing list