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 MBP.
Paths
| Differential D97994
[lld/mac] ad-hoc sign dylibs and bundles on arm64 by default, support -(no_)adhoc_codesign flags ClosedPublic Authored by thakis on Mar 4 2021, 5:35 PM.
Details
Summary Previously, lld/mac only ad-hoc codesigned executables on arm64. Matches ld64 behavior. Part of PR49443. Fixes 14 of 17 failures when running
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 4 2021, 9:45 PM This revision was landed with ongoing or failed builds.Mar 5 2021, 6:12 AM Closed by commit rG0e319bd0be26: [lld/mac] ad-hoc sign dylibs and bundles on arm64 by default, support… (authored by thakis). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 328500 lld/MachO/Config.h
lld/MachO/Driver.cpp
lld/MachO/Options.td
lld/MachO/Writer.cpp
lld/test/MachO/adhoc-codesign.s
|
Should we be setting this for all arm64 binaries, or only arm64 binaries targeting macOS?