diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2018-09-04 10:40:19 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2018-09-04 10:40:19 +0000 |
commit | 7efe01966af611516dab3407c28ff494128af384 (patch) | |
tree | b5d62d0940de7935e1e5195819d40a98ab3664d9 | |
parent | 1e368d3a364d4dc7f3279727abe01dbe5e4b947c (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_70@341354 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Driver/ToolChains/Clang.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Driver/ToolChains/Clang.cpp b/lib/Driver/ToolChains/Clang.cpp index 45a29a0225..8e9c4c6aec 100644 --- a/lib/Driver/ToolChains/Clang.cpp +++ b/lib/Driver/ToolChains/Clang.cpp @@ -4912,8 +4912,7 @@ ObjCRuntime Clang::AddObjCRuntimeArgs(const ArgList &args, } 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(); |