[all-commits] [llvm/llvm-project] f34fdb: [llvm-objcopy][MachO] Make --remove-section clean ...

Alexander Shaposhnikov via All-commits all-commits at lists.llvm.org
Wed Apr 22 14:27:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f34fdbcf996a9b944439007b1da087be8284b803
      https://github.com/llvm/llvm-project/commit/f34fdbcf996a9b944439007b1da087be8284b803
  Author: Alexander Shaposhnikov <alexshap at fb.com>
  Date:   2020-04-22 (Wed, 22 Apr 2020)

  Changed paths:
    A llvm/test/tools/llvm-objcopy/MachO/remove-section-dead-symbols.test
    A llvm/test/tools/llvm-objcopy/MachO/remove-section-error.test
    M llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
    M llvm/tools/llvm-objcopy/MachO/MachOReader.cpp
    M llvm/tools/llvm-objcopy/MachO/Object.cpp
    M llvm/tools/llvm-objcopy/MachO/Object.h

  Log Message:
  -----------
  [llvm-objcopy][MachO] Make --remove-section clean up dead symbols

Make --remove-section clean up dead symbols, return an Error if it can't be safely done.

Test plan: make check-all

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




More information about the All-commits mailing list