[all-commits] [llvm/llvm-project] 842a8c: [llvm-objcopy][MachO] Add support for removing Swi...

Alexander Shaposhnikov via All-commits all-commits at lists.llvm.org
Tue May 26 16:52:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 842a8cc10c4146cee6cedd94fbf556c94b8ec365
      https://github.com/llvm/llvm-project/commit/842a8cc10c4146cee6cedd94fbf556c94b8ec365
  Author: Alexander Shaposhnikov <alexshap at fb.com>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-strip.rst
    A llvm/test/tools/llvm-objcopy/MachO/remove-swift-symbols.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/MachO/MachOReader.cpp
    M llvm/tools/llvm-objcopy/MachO/MachOReader.h
    M llvm/tools/llvm-objcopy/MachO/Object.h
    M llvm/tools/llvm-objcopy/StripOpts.td

  Log Message:
  -----------
  [llvm-objcopy][MachO] Add support for removing Swift symbols

cctools strip has the option "-T" which removes Swift symbols.
This diff implements this option in llvm-strip for MachO.

Test plan: make check-all

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




More information about the All-commits mailing list