================
@@ -50,26 +53,26 @@ class MCSectionGOFF final : public MCSection {
   friend class MCContext;
   friend class MCSymbolGOFF;
 
-  MCSectionGOFF(StringRef Name, SectionKind K, GOFF::SDAttr SDAttributes,
-                MCSectionGOFF *Parent)
-      : MCSection(SV_GOFF, Name, K.isText(), /*IsVirtual=*/false, nullptr),
+  MCSectionGOFF(StringRef Name, SectionKind K, bool IsVirtual,
----------------
redstar wrote:

Exactly. The idea is to trigger the check in 
[MCAssembler::writeSectionData()](https://github.com/llvm/llvm-project/blob/main/llvm/lib/MC/MCAssembler.cpp#L796)
 for those sections which are not allowed to contain text.

https://github.com/llvm/llvm-project/pull/137235
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to