r341350 - Disable the GNUstep v2 ABI on Windows.

David Chisnall via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 4 02:23:18 PDT 2018


Author: theraven
Date: Tue Sep  4 02:23:18 2018
New Revision: 341350

URL: http://llvm.org/viewvc/llvm-project?rev=341350&view=rev
Log:
Disable the GNUstep v2 ABI on Windows.

The code remains so that we can potentially reenable it in a point
release, but the driver will reject it.  Several issues were raised
during testing that made it clear that this was not quite ready for
general consumption.

Approved by: Hans Wennborg

Modified:
    cfe/trunk/lib/Driver/ToolChains/Clang.cpp

Modified: cfe/trunk/lib/Driver/ToolChains/Clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/Clang.cpp?rev=341350&r1=341349&r2=341350&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/Clang.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains/Clang.cpp Tue Sep  4 02:23:18 2018
@@ -4949,8 +4949,7 @@ ObjCRuntime Clang::AddObjCRuntimeArgs(co
     }
     if ((runtime.getKind() == ObjCRuntime::GNUstep) &&
         (runtime.getVersion() >= VersionTuple(2, 0)))
-      if (!getToolChain().getTriple().isOSBinFormatELF() &&
-          !getToolChain().getTriple().isOSBinFormatCOFF()) {
+      if (!getToolChain().getTriple().isOSBinFormatELF()) {
         getToolChain().getDriver().Diag(
             diag::err_drv_gnustep_objc_runtime_incompatible_binary)
           << runtime.getVersion().getMajor();




More information about the cfe-commits mailing list