aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2012-07-03 20:49:52 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2012-07-03 20:49:52 +0000
commit11d3f4cc27e6b923fc32481dc1bb5ec46c7d1f4b (patch)
tree555a41fbf7a33a4b636adedd17cfbacf1b3bfdc8 /lib/Driver
parent1fc6e4fa79444b2a7be8a1150f646ffbde68b744 (diff)
Rename the GCC Objective-C runtime to gcc from gnu-fragile and the GNUstep
runtime to gnustep from gnu. Fix EH for the GCC runtime. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver')
-rw-r--r--lib/Driver/ToolChain.cpp2
-rw-r--r--lib/Driver/Tools.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Driver/ToolChain.cpp b/lib/Driver/ToolChain.cpp
index 21aefb6439..48ed044c8f 100644
--- a/lib/Driver/ToolChain.cpp
+++ b/lib/Driver/ToolChain.cpp
@@ -50,7 +50,7 @@ bool ToolChain::HasNativeLLVMSupport() const {
}
ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const {
- return ObjCRuntime(isNonFragile ? ObjCRuntime::GNU : ObjCRuntime::FragileGNU,
+ return ObjCRuntime(isNonFragile ? ObjCRuntime::GNUstep : ObjCRuntime::GCC,
VersionTuple());
}
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp
index 601ea54c29..01792ae11f 100644
--- a/lib/Driver/Tools.cpp
+++ b/lib/Driver/Tools.cpp
@@ -2934,7 +2934,7 @@ ObjCRuntime Clang::AddObjCRuntimeArgs(const ArgList &args,
// -fgnu-runtime
} else {
assert(runtimeArg->getOption().matches(options::OPT_fgnu_runtime));
- runtime = ObjCRuntime(ObjCRuntime::GNU, VersionTuple());
+ runtime = ObjCRuntime(ObjCRuntime::GCC, VersionTuple());
}
cmdArgs.push_back(args.MakeArgString(