[PATCH] D128705: [llvm-objdump] Create fake sections for a ELF core file
Namhyung Kim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 29 20:47:49 PDT 2022
namhyung added a comment.
> it seems obj2yaml doesn't show size info in the phdr and because of that yaml2obj sets them to 0. So there's no output... I think it should be fixed first.
Hmm.. ok. I can manually set the file size and mem size and yaml2obj honors it.
But I found another problem that yaml2obj always generates some section headers (for string tables) even if there's no section. It annoys fake section handling.. I think yaml2obj should not generate sections for core files as it has no sections.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128705/new/
https://reviews.llvm.org/D128705
More information about the llvm-commits
mailing list