[all-commits] [llvm/llvm-project] 25d7b4: [objcopy][NFC] Rename files to avoid clashing of a...

avl-llvm via All-commits all-commits at lists.llvm.org
Wed Feb 23 02:07:42 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25d7b4fb446b6511e9dcd582e05dbb7f7f936c01
      https://github.com/llvm/llvm-project/commit/25d7b4fb446b6511e9dcd582e05dbb7f7f936c01
  Author: Alexey Lapshin <a.v.lapshin at mail.ru>
  Date:   2022-02-23 (Wed, 23 Feb 2022)

  Changed paths:
    M llvm/lib/ObjCopy/CMakeLists.txt
    M llvm/lib/ObjCopy/COFF/COFFObjcopy.cpp
    A llvm/lib/ObjCopy/COFF/COFFObject.cpp
    A llvm/lib/ObjCopy/COFF/COFFObject.h
    A llvm/lib/ObjCopy/COFF/COFFReader.cpp
    A llvm/lib/ObjCopy/COFF/COFFReader.h
    A llvm/lib/ObjCopy/COFF/COFFWriter.cpp
    A llvm/lib/ObjCopy/COFF/COFFWriter.h
    R llvm/lib/ObjCopy/COFF/Object.cpp
    R llvm/lib/ObjCopy/COFF/Object.h
    R llvm/lib/ObjCopy/COFF/Reader.cpp
    R llvm/lib/ObjCopy/COFF/Reader.h
    R llvm/lib/ObjCopy/COFF/Writer.cpp
    R llvm/lib/ObjCopy/COFF/Writer.h
    M llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
    A llvm/lib/ObjCopy/ELF/ELFObject.cpp
    A llvm/lib/ObjCopy/ELF/ELFObject.h
    R llvm/lib/ObjCopy/ELF/Object.cpp
    R llvm/lib/ObjCopy/ELF/Object.h
    M llvm/lib/ObjCopy/MachO/MachOLayoutBuilder.h
    A llvm/lib/ObjCopy/MachO/MachOObject.cpp
    A llvm/lib/ObjCopy/MachO/MachOObject.h
    M llvm/lib/ObjCopy/MachO/MachOReader.cpp
    M llvm/lib/ObjCopy/MachO/MachOReader.h
    M llvm/lib/ObjCopy/MachO/MachOWriter.cpp
    M llvm/lib/ObjCopy/MachO/MachOWriter.h
    R llvm/lib/ObjCopy/MachO/Object.cpp
    R llvm/lib/ObjCopy/MachO/Object.h
    R llvm/lib/ObjCopy/wasm/Object.cpp
    R llvm/lib/ObjCopy/wasm/Object.h
    R llvm/lib/ObjCopy/wasm/Reader.cpp
    R llvm/lib/ObjCopy/wasm/Reader.h
    M llvm/lib/ObjCopy/wasm/WasmObjcopy.cpp
    A llvm/lib/ObjCopy/wasm/WasmObject.cpp
    A llvm/lib/ObjCopy/wasm/WasmObject.h
    A llvm/lib/ObjCopy/wasm/WasmReader.cpp
    A llvm/lib/ObjCopy/wasm/WasmReader.h
    A llvm/lib/ObjCopy/wasm/WasmWriter.cpp
    A llvm/lib/ObjCopy/wasm/WasmWriter.h
    R llvm/lib/ObjCopy/wasm/Writer.cpp
    R llvm/lib/ObjCopy/wasm/Writer.h

  Log Message:
  -----------
  [objcopy][NFC] Rename files to avoid clashing of archive members.

libtool uses file names to name members of an static library.
Files, located in different directories and having matching name,
would have the same name inside an archive. This is not a problem
for ld, but may be a problem for ar. This patch renames files
from ObjCopy library to avoid names clashing.

See https://reviews.llvm.org/D88827#3335814

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




More information about the All-commits mailing list