This diff adds stripping of LC_CODE_SIGNATURE load commands with
llvm-bitcode-strip by default. The -keep_cs flag is added to
preserve code signature load commands.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
It looks like we don't need this change as code signature updating was implemented in D111164. Verified with:
% llvm-bitcode-strip -r -keep_cs libswiftCore.dylib -o stripped.dylib % codesign -v -vvv stripped.dylib stripped.dylib: valid on disk stripped.dylib: satisfies its Designated Requirement