[llvm-branch-commits] [cfe-branch] r341354 - Disable the GNUstep v2 ABI on Windows.

David Chisnall via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Sep 4 03:40:19 PDT 2018


Author: theraven
Date: Tue Sep  4 03:40:19 2018
New Revision: 341354

URL: http://llvm.org/viewvc/llvm-project?rev=341354&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/branches/release_70/lib/Driver/ToolChains/Clang.cpp

Modified: cfe/branches/release_70/lib/Driver/ToolChains/Clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_70/lib/Driver/ToolChains/Clang.cpp?rev=341354&r1=341353&r2=341354&view=diff
==============================================================================
--- cfe/branches/release_70/lib/Driver/ToolChains/Clang.cpp (original)
+++ cfe/branches/release_70/lib/Driver/ToolChains/Clang.cpp Tue Sep  4 03:40:19 2018
@@ -4912,8 +4912,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 llvm-branch-commits mailing list