[PATCH] D131290: [llvm-objdump] Create name for fake sections
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 4 19:44:09 PDT 2022
MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.
LGTM.
================
Comment at: llvm/include/llvm/Object/ELF.h:783
+ StringTableBuilder StrTab(StringTableBuilder::ELF);
for (auto Phdr : *PhdrsOrErr) {
+ if (Phdr.p_type != ELF::PT_LOAD || !(Phdr.p_flags & ELF::PF_X)) {
----------------
`for (auto [Idx, Phdr] : llvm::enumerate(*PhdrsOrErr))`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131290/new/
https://reviews.llvm.org/D131290
More information about the llvm-commits
mailing list