[PATCH] D92098: [obj2yaml] - Don't crash when dumping an object with no sections.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 26 00:12:19 PST 2020
grimar marked an inline comment as done.
grimar added inline comments.
Comment at: llvm/test/tools/obj2yaml/ELF/eshnum.yaml:27
+ Type: ET_REL
+ EShNum: 0x0
> The following may be slightly better:
> --- !ELF
> Class: ELFCLASS64
> Data: ELFDATA2LSB
> Type: ET_REL
> NoHeaders: true
We currently don't emit the `SectionHeaderTable`. Though I guess it might be reasonable to do it when sections are out of order or when there is no section header.
CHANGES SINCE LAST ACTION
More information about the llvm-commits