[all-commits] [llvm/llvm-project] ede56e: [llvm-objcopy][MachO] Add support for --keep-undef...

Alexander Shaposhnikov via All-commits all-commits at lists.llvm.org
Mon Mar 8 18:58:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ede56e5127c9bd88b870f3300a4af6526c0dca86
      https://github.com/llvm/llvm-project/commit/ede56e5127c9bd88b870f3300a4af6526c0dca86
  Author: Alexander Shaposhnikov <alexshap at fb.com>
  Date:   2021-03-08 (Mon, 08 Mar 2021)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-objcopy.rst
    A llvm/test/tools/llvm-objcopy/MachO/keep-undefined.test
    M llvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp
    M llvm/tools/llvm-objcopy/CommonOpts.td
    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

  Log Message:
  -----------
  [llvm-objcopy][MachO] Add support for --keep-undefined

This diff introduces --keep-undefined in llvm-objcopy/llvm-strip for Mach-O
which makes the tools preserve undefined symbols.

Test plan: make check-all

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




More information about the All-commits mailing list