[PATCH] D73999: [MC][ELF] Error changed sh_type, sh_flags or sh_entsize

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 20:58:04 PST 2020


MaskRay updated this revision to Diff 245573.
MaskRay added a comment.

Improve diagnostics for changed sh_entsize.
Add section-entsize-changed.s

There are currently no good way to provide better diagnostics for sh_type and sh_flags


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73999

Files:
  llvm/lib/MC/MCParser/ELFAsmParser.cpp
  llvm/test/MC/ELF/exclude-debug-dwo.s
  llvm/test/MC/ELF/section-entsize-changed.s
  llvm/test/MC/ELF/section-flags-changed.s
  llvm/test/MC/ELF/section-type-changed.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73999.245573.patch
Type: text/x-patch
Size: 3515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200220/fecf958e/attachment.bin>


More information about the llvm-commits mailing list