HomePhabricator

[lld-macho] Check simulator platforms to avoid issuing false positive errors.

Authored by oontvoo on May 4 2021, 1:23 PM.

Description

[lld-macho] Check simulator platforms to avoid issuing false positive errors.

Currently the linker causes unnecessary errors when either the target or the config's platform is a simulator.

Differential Revision: https://reviews.llvm.org/D101855