This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objcopy][MachO] Remove more sections with llvm-bitcode-strip
ClosedPublic

Authored by keith on Aug 19 2022, 4:35 PM.

Details

Summary

This adds the other potential bitcode sections that can exist and should
be stripped with -r from llvm-bitcode-strip.

Diff Detail

Event Timeline

keith created this revision.Aug 19 2022, 4:35 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: abrachet. · View Herald Transcript
keith requested review of this revision.Aug 19 2022, 4:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 19 2022, 4:35 PM

Functionally, this looks to do what it says it does - I have no comments there. I don't know enough about either bitcode or Mach-O to identify the sections that should be removed though. Soft LGTM apart from that point, with someone with more knowledge needing to confirm it or otherwise.

This revision is now accepted and ready to land.Aug 22 2022, 2:24 PM