[all-commits] [llvm/llvm-project] ddef1e: [llvm-otool] Make `llvm-otool -l` output compatibl...

Nico Weber via All-commits all-commits at lists.llvm.org
Wed May 4 16:19:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddef1ed4e7932e09c9316681779509f980ba8d13
      https://github.com/llvm/llvm-project/commit/ddef1ed4e7932e09c9316681779509f980ba8d13
  Author: Nico Weber <thakis at chromium.org>
  Date:   2022-05-04 (Wed, 04 May 2022)

  Changed paths:
    M llvm/test/tools/llvm-objdump/MachO/build-version.yaml
    M llvm/tools/llvm-objdump/MachODump.cpp

  Log Message:
  -----------
  [llvm-otool] Make `llvm-otool -l` output compatible with otool for LC_BUILD_VERSION

Namely, only "symbolize" platform and tool names if `-v` is passed.

(`llvm-otool -lv` output still isn't quite the same as `otool -lv` output, but
`-v` output is arguably for consumption by humans, so I'm not changing that
at this point. Someone else could change it if it was important to them.)

Differential Revision: https://reviews.llvm.org/D124920




More information about the All-commits mailing list