[PATCH] D107707: [MC][ELF] Do not error on parsing .debug_* section directive for MIPS
Alexander Richardson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 8 00:58:12 PDT 2021
arichardson added inline comments.
================
Comment at: llvm/lib/MC/MCParser/ELFAsmParser.cpp:518
+ // but in assembly files these sections have SHT_PROGBITS type.
+ return Section->getType() == ELF::SHT_MIPS_DWARF &&
+ Type == ELF::SHT_PROGBITS;
----------------
Should this be restricted to `Section->getName().startsWith (".debug")`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107707/new/
https://reviews.llvm.org/D107707
More information about the llvm-commits
mailing list