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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 15 22:30:36 PDT 2020


MaskRay added a comment.

I failed to think about one problem. We can't use SHF_LINK_ORDER because mixing SHF_LINK_ORDER sections and non-SHF_LINK_ORDER sections are disallowed by linkers.

GNU ld: `.gcc_except_table has both ordered [`.gcc_except_table' in a.o] and unordered [`.gcc_except_table' in b.o] sections`
LLD: `a.o:(.gcc_except_table): SHF_LINK_ORDER sections in .gcc_except_table are not contiguous` I relaxed the restriction a bit (D77007 <https://reviews.llvm.org/D77007>) but non-contignuous SHF_LINK_ORDER sections are still not allowed.


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