[PATCH] D83655: [AsmPrinter] Split up .gcc_except_table

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 12 22:12:44 PDT 2020


MaskRay marked an inline comment as done.
MaskRay added inline comments.


================
Comment at: llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp:440
+        Flags |= ELF::SHF_GROUP;
+      }
+      if (Asm->MAI->useIntegratedAssembler()) {
----------------
Forgot to add comments. I'd write

`// GNU as<2.35 does not support SHF_LINK_ORDER. If we are using the integrated assembler, use SHF_LINK_ORDER so that the linker can discard .gcc_except_table associated to a discarded text section.`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83655/new/

https://reviews.llvm.org/D83655





More information about the llvm-commits mailing list