[all-commits] [llvm/llvm-project] ba4537: [compiler-rt] Don't explictly ad-hoc sign dylibs o...
Nico Weber via All-commits
all-commits at lists.llvm.org
Wed Apr 13 05:39:36 PDT 2022
Author: Nico Weber <thakis at chromium.org>
Date: 2022-04-13 (Wed, 13 Apr 2022)
[compiler-rt] Don't explictly ad-hoc sign dylibs on APPLE if ld is new enough
ld64 implicitly ad-hoc code-signs as of Xcode 12, and `strip` and friends know
how keep this special ad-hoc signature valid.
So this should have no effective behavior change, except that you can now strip
libclang_rt.asan_osx_dynamic.dylib and it'll still have a valid ad-hoc
signature, instead of strip printing "warning: changes being made to the file
will invalidate the code signature in:" and making the ad-hoc code signature
Differential Revision: https://reviews.llvm.org/D123475
More information about the All-commits