rsmith accepted this revision. rsmith added a reviewer: rsmith. This revision is now accepted and ready to land.
================ Comment at: lib/Driver/ToolChains.cpp:733 @@ +732,3 @@ + StringRef SDKName = SDK.slice(0, StartVer); + if (!SDKName.startswith(getPlatformFamily())) + getDriver().Diag(diag::warn_incompatible_sysroot) ---------------- I assume it's intentional that you allow targeting FooOS with a sysroot for FooSimulator and vice versa? http://reviews.llvm.org/D18088 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits