[PATCH] D92098: [obj2yaml] - Don't crash when dumping an object with no sections.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 25 11:54:50 PST 2020
MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/test/tools/obj2yaml/ELF/eshnum.yaml:27
+ Type: ET_REL
+ EShNum: 0x0
+Sections:
----------------
The following may be slightly better:
```
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
SectionHeaderTable:
NoHeaders: true
```
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92098/new/
https://reviews.llvm.org/D92098
More information about the llvm-commits
mailing list