================
@@ -599,8 +615,23 @@ class MCContext {
unsigned Flags,
unsigned EntrySize);
- MCSectionGOFF *getGOFFSection(StringRef Section, SectionKind Kind,
- MCSection *Parent, uint32_t Subsection = 0);
+private:
+ MCSectionGOFF *getGOFFSection(SectionKind Kind,
+ GOFF::ESDSymbolType SymbolType, StringRef Name,
+ GOFF::SDAttr SDAttributes,
+ GOFF::EDAttr EDAttributes,
+ GOFF::PRAttr PRAttributes, MCSection *Parent);
+
+public:
+ MCSectionGOFF *getGOFFSection(SectionKind Kind, StringRef Name,
+ GOFF::SDAttr SDAttributes,
+ MCSection *Parent = nullptr);
----------------
uweigand wrote:
SD can never have a parent, so this should be removed.
https://github.com/llvm/llvm-project/pull/133799
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits