[test][llvm-objcopy/mac] Fix invalid strip tests
authorKeith Smiley <keithbsmiley@gmail.com>
Mon, 7 Feb 2022 23:08:24 +0000 (15:08 -0800)
committerKeith Smiley <keithbsmiley@gmail.com>
Tue, 8 Feb 2022 04:01:48 +0000 (20:01 -0800)
commit4669cc93948e6d058812fc2f8f888dc478f09b33
tree0a3214f37c23833de6d8b28137295413b5085542
parentc4ac46b95d7c821b127bed92a50f26aaeb494414
[test][llvm-objcopy/mac] Fix invalid strip tests

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.

Differential Revision: https://reviews.llvm.org/D119203
llvm/test/tools/llvm-objcopy/MachO/Inputs/strip-chained-fixups.yaml
llvm/test/tools/llvm-objcopy/MachO/strip-all.test