[PATCH] D97994: [lld/mac] ad-hoc sign dylibs and bundles on arm64 by default, support -(no_)adhoc_codesign flags

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 4 17:35:33 PST 2021


thakis created this revision.
thakis added a reviewer: lld-macho.
Herald added subscribers: dang, kristof.beyls.
Herald added a reviewer: int3.
Herald added a project: lld-macho.
thakis requested review of this revision.

Previously, lld/mac only ad-hoc codesigned executables on arm64.

Matches ld64 behavior. Part of PR49443. Fixes 14 of 17 failures when running
check-llvm with lld as host linker on an M1 <https://reviews.llvm.org/M1> MBP.


https://reviews.llvm.org/D97994

Files:
  lld/MachO/Config.h
  lld/MachO/Driver.cpp
  lld/MachO/Options.td
  lld/MachO/Writer.cpp
  lld/test/MachO/adhoc-codesign.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97994.328344.patch
Type: text/x-patch
Size: 6292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210305/bdeef54c/attachment.bin>


More information about the llvm-commits mailing list