[all-commits] [llvm/llvm-project] 89e660: [llvm-readelf][llvm-readobj] - Fix the indentation...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Tue Jan 21 03:25:10 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 89e6601fb152b39700977d70e5604309f05475e5
      https://github.com/llvm/llvm-project/commit/89e6601fb152b39700977d70e5604309f05475e5
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/dynamic-tags-machine-specific.test
    M llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

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

This change is similar to one made for llvm-objdump in D72838.

llvm-readelf/llvm-readobj tools do not align the "Name/Value" column properly.
This patch adds a logic to calculate the size of indentation on fly
to fix such issues.

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




More information about the All-commits mailing list