XCode 12 ships with mismatched platforms for these libraries,
so this hack is necessary...
Fixes PR49799.
| Paths 
 |  Differential  D100913  
[lld-macho] Skip platform checks for a few libSystem re-exports ClosedPublic Authored by int3 on Apr 20 2021, 4:47 PM. 
Details 
 Summary XCode 12 ships with mismatched platforms for these libraries, Fixes PR49799. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Apr 20 2021, 4:52 PM This revision was landed with ongoing or failed builds.Apr 20 2021, 4:55 PM Closed by commit rG7208bd4b320f: [lld-macho] Skip platform checks for a few libSystem re-exports (authored by int3).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 339055 lld/MachO/InputFiles.cpp
 lld/test/MachO/Inputs/iPhoneSimulator.sdk/usr/lib/libSystem.tbd
 lld/test/MachO/skip-platform-checks.s
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||