[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 04:18:40 PST 2020
grimar planned changes to this revision.
grimar marked an inline comment as done.
grimar added a comment.
I am experimenting with the patch which preserves the `EShNum` key when e_shnum == 0. It is usefull for the normal scenario when
the number of sections is greater than or equal to the `SHN_LORESERVE `.
I'll rebase this patch later. I think that after we start emitting the `EShNum = 0`, this patch will produce an equivalent output for the input given.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92098/new/
https://reviews.llvm.org/D92098
More information about the llvm-commits
mailing list