[PATCH] D72838: [llvm-objdump] - Fix the indentation when printing dynamic tags.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 05:27:10 PST 2020


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added subscribers: rupprecht, atanasyan, arichardson, sdardis.
Herald added a project: LLVM.

We have a bug currently: printed tag names might overlap the
values row. It happens for MIPS now.

This patch adds a logic to calculate the size of indentation on fly
to fix such issues.


https://reviews.llvm.org/D72838

Files:
  llvm/test/tools/llvm-objdump/elf-dynamic-section-machine-specific.test
  llvm/test/tools/llvm-objdump/elf-dynamic-section.test
  llvm/tools/llvm-objdump/ELFDump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72838.238465.patch
Type: text/x-patch
Size: 8489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200116/859ed43e/attachment.bin>


More information about the llvm-commits mailing list