================ @@ -2857,3 +2861,48 @@ MCSection *TargetLoweringObjectFileGOFF::SelectSectionForGlobal( } return TextSection; } + +static MCSectionGOFF *getStaticStructorSectionGOFF(MCContext &Ctx, + const MCSection *TextSection, + bool IsCtor, ---------------- amy-kwan wrote:
Good point. We don't have two separate .ctor and .dtor sections. Instead, the section has one data structure and the position of the pointer inside the data structure determines if we have a .ctor or a .dtor. The parameter is unused, so we can get rid of it and update the caller of this function accordingly. https://github.com/llvm/llvm-project/pull/171476 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
