[all-commits] [llvm/llvm-project] 547530: [llvm-objdump] - Fix the indentation when printing...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Mon Jan 20 01:30:20 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 547530cc6a82879c9f777d9c1035a8f0ebcb3cfe
      https://github.com/llvm/llvm-project/commit/547530cc6a82879c9f777d9c1035a8f0ebcb3cfe
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-01-20 (Mon, 20 Jan 2020)

  Changed paths:
    M llvm/test/tools/llvm-objdump/elf-dynamic-section-machine-specific.test
    M llvm/test/tools/llvm-objdump/elf-dynamic-section.test
    M llvm/tools/llvm-objdump/ELFDump.cpp

  Log Message:
  -----------
  [llvm-objdump] - Fix the indentation when printing dynamic tags.

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

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

Differential revision: https://reviews.llvm.org/D72838




More information about the All-commits mailing list