[all-commits] [llvm/llvm-project] 2d40bd: [llvm-objdump] Remove bool MachOOnlyFirst from pri...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jul 26 00:26:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d40bd1e49025de687b65812718d30605cfb1c37
      https://github.com/llvm/llvm-project/commit/2d40bd1e49025de687b65812718d30605cfb1c37
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-07-26 (Wed, 26 Jul 2023)

  Changed paths:
    M llvm/tools/llvm-objdump/COFFDump.cpp
    M llvm/tools/llvm-objdump/ELFDump.cpp
    M llvm/tools/llvm-objdump/MachODump.cpp
    M llvm/tools/llvm-objdump/WasmDump.cpp
    M llvm/tools/llvm-objdump/XCOFFDump.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.h

  Log Message:
  -----------
  [llvm-objdump] Remove bool MachOOnlyFirst from printPrivateHeaders after D155045. NFC

Mach-O can just use the global variable `FirstPrivateHeader`.
If we ever manage to remove global variables, we can add a Config
variable to Dumper. Either case, the parameter is not needed.

Reviewed By: jhenderson

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




More information about the All-commits mailing list