This is an archive of the discontinued LLVM Phabricator instance.

[test][llvm-objcopy/mac] Fix invalid strip tests
ClosedPublic

Authored by keith on Feb 7 2022, 4:42 PM.

Details

Summary

I discovered some of these tests had cmp statements that weren't
actually being run. I had also recently copied this broken setup for a
new test around chained fixups. Fixing this revealed that the binaries
did differ because of their code signature so I regenerated the fixture
here with this source:

c
int main() {
   return 0;
}

Passing -Wl,-no_adhoc_codesign on my M1 machine to make sure it didn't
get any signature.

Diff Detail

Event Timeline

keith created this revision.Feb 7 2022, 4:42 PM
keith requested review of this revision.Feb 7 2022, 4:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 7 2022, 4:42 PM
keith updated this revision to Diff 406651.Feb 7 2022, 4:44 PM

Formatting fixes

This revision is now accepted and ready to land.Feb 7 2022, 6:31 PM
This revision was landed with ongoing or failed builds.Feb 7 2022, 8:07 PM
This revision was automatically updated to reflect the committed changes.