[PATCH] D131290: [llvm-objdump] Create name for fake sections

Namhyung Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 13:36:36 PDT 2022


namhyung created this revision.
namhyung added reviewers: Bigcheese, MaskRay, jhenderson.
Herald added subscribers: StephenFan, rupprecht.
Herald added a project: All.
namhyung requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

It doesn't have a section header string table so add a vector to have
the strings and create name based on the program header type and the
index.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131290

Files:
  llvm/include/llvm/Object/ELF.h
  llvm/test/Object/objdump-no-sectionheaders.test
  llvm/test/tools/llvm-objdump/X86/disassemble-no-section.test
  llvm/tools/llvm-objdump/llvm-objdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131290.450378.patch
Type: text/x-patch
Size: 4160 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220805/18e51912/attachment.bin>


More information about the llvm-commits mailing list