[PATCH] D135988: [llvm-objcopy][MachO] Add support for LC_DYLIB_CODE_SIGN_DRS

Keith Smiley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 14 13:59:49 PDT 2022


keith created this revision.
keith added a reviewer: alexander-shaposhnikov.
Herald added subscribers: abrachet, hiraditya.
Herald added a reviewer: jhenderson.
Herald added a project: All.
keith requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

This allows binaries containing the LC_DYLIB_CODE_SIGN_DRS to be
objcopy'd and stripped.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135988

Files:
  llvm/lib/ObjCopy/MachO/MachOLayoutBuilder.cpp
  llvm/lib/ObjCopy/MachO/MachOObject.cpp
  llvm/lib/ObjCopy/MachO/MachOObject.h
  llvm/lib/ObjCopy/MachO/MachOReader.cpp
  llvm/lib/ObjCopy/MachO/MachOReader.h
  llvm/lib/ObjCopy/MachO/MachOWriter.cpp
  llvm/lib/ObjCopy/MachO/MachOWriter.h
  llvm/test/tools/llvm-objcopy/MachO/Inputs/strip-all-with-codesignature.yaml
  llvm/test/tools/llvm-objcopy/MachO/strip-all.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135988.467904.patch
Type: text/x-patch
Size: 19782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221014/fc0766ee/attachment-0001.bin>


More information about the llvm-commits mailing list