Page MenuHomePhabricator

[Object][MachO] Rewrite macho-invalid-fat-arch-size into YAML
ClosedPublic

Authored by steven_wu on Nov 5 2019, 9:46 AM.

Details

Summary

Rewrite one of the invalid macho test input file with YAML file. The
original invalid macho is breaking our internal test infrastusture
because it is too broken to be copy around.

Need to relax an assertion in the YAML/MachoEmitter to allow yaml2obj to
write an invalid object like this.

rdar://problem/56879982

Event Timeline

steven_wu created this revision.Nov 5 2019, 9:46 AM
beanz accepted this revision.Nov 6 2019, 11:22 AM

LGTM

This revision is now accepted and ready to land.Nov 6 2019, 11:22 AM
This revision was automatically updated to reflect the committed changes.