Revert "[Darwin] Further restrict inference of the simulator environment"

This commit is contained in:
Saleem Abdulrasool
2020-04-19 16:43:22 -07:00
committed by GitHub
parent ea142dba02
commit fbbf61f297
18 changed files with 87 additions and 119 deletions

View File

@@ -1341,9 +1341,6 @@ static bool areCompatibleArchitectures(const llvm::Triple &moduleTarget,
static bool areCompatibleOSs(const llvm::Triple &moduleTarget,
const llvm::Triple &ctxTarget) {
if (moduleTarget.getEnvironment() != ctxTarget.getEnvironment())
return false;
if (moduleTarget.getOS() == ctxTarget.getOS())
return true;