[lld] [lld-macho][NFC] Refactor ObjCSelRefsSection out of ObjCStubsSection (PR #83878)

Kyungwoo Lee via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 8 17:05:16 PST 2024


================
@@ -315,6 +315,25 @@ class StubHelperSection final : public SyntheticSection {
   Defined *dyldPrivate = nullptr;
 };
 
+class ObjCSelRefsSection final : public SyntheticSection {
+public:
+  ObjCSelRefsSection();
+  void initialize();
+
+  // This SyntheticSection does not do its own writing, but instead uses the
+  // creates SyntheticInputSection's and inserts them into inputSections
----------------
kyulee-com wrote:

Can you update comments, which doesn't seem right?

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


More information about the llvm-commits mailing list