[all-commits] [llvm/llvm-project] c46542: [llvm-objcopy] Delete --build-id-link-{dir, input, o...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Feb 15 11:17:55 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c465429f286f50e52a8d2b3b39f38344f3381cce
      https://github.com/llvm/llvm-project/commit/c465429f286f50e52a8d2b3b39f38344f3381cce
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-objcopy.rst
    M llvm/docs/ReleaseNotes.rst
    R llvm/test/tools/llvm-objcopy/ELF/bad-build-id.test
    R llvm/test/tools/llvm-objcopy/ELF/build-id-link-dir.test
    R llvm/test/tools/llvm-objcopy/ELF/no-build-id-no-notes.test
    R llvm/test/tools/llvm-objcopy/ELF/no-build-id.test
    M llvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp
    M llvm/tools/llvm-objcopy/CopyConfig.cpp
    M llvm/tools/llvm-objcopy/CopyConfig.h
    M llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
    M llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
    M llvm/tools/llvm-objcopy/ObjcopyOpts.td
    M llvm/tools/llvm-objcopy/wasm/WasmObjcopy.cpp

  Log Message:
  -----------
  [llvm-objcopy] Delete --build-id-link-{dir,input,output}

The few options are niche. They solved a problem which was traditionally solved
with more shell commands (`llvm-readelf -n` fetches the Build ID. Then
`ln` is used to hard link the file to a directory derived from the Build ID.)

Due to limitation, they are no longer used by Fuchsia and they don't appear to
be used elsewhere (checked with Google Search and Debian Code Search). So delete
them without a transition period.

Announcement: https://lists.llvm.org/pipermail/llvm-dev/2021-February/148446.html

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




More information about the All-commits mailing list