[llvm] [MC] Parse SHF_LINK_ORDER argument before section group name (PR #77407)

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 23:07:26 PST 2024


================
@@ -90,7 +90,9 @@ void MCSectionELF::printSwitchToSection(const MCAsmInfo &MAI, const Triple &T,
     OS << 'e';
   if (Flags & ELF::SHF_EXECINSTR)
     OS << 'x';
-  if (Flags & ELF::SHF_GROUP)
+  // TODO: Always print G after o to be clear that the 'G' argument is parsed
----------------
petrhosek wrote:

Can you file an issue for this and reference it here so we don't loose track of this `TODO`?

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


More information about the llvm-commits mailing list