From: Bill Wendling Date: Sat, 23 Nov 2013 11:05:49 +0000 (+0000) Subject: Merging r195547: X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ee92a0d225be4b2170cde2b39ca88b11964b636;p=clang Merging r195547: ------------------------------------------------------------------------ r195547 | d0k | 2013-11-23 02:57:32 -0800 (Sat, 23 Nov 2013) | 9 lines Enable non-fragile ABI for the ObjFW runtime The following patch enables the non-fragile ABI for the ObjFW runtime. However, I noticed that it is not possible anymore to disable it with -fno-objc-nonfragile-abi like it was before. I think this functionality should be restored, but I guess this is not in scope for 3.4 anymore. Patch by Jonathan Schleifer! ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_34@195548 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/ObjCRuntime.h b/include/clang/Basic/ObjCRuntime.h index 52f35a0189..4c64497503 100644 --- a/include/clang/Basic/ObjCRuntime.h +++ b/include/clang/Basic/ObjCRuntime.h @@ -79,7 +79,7 @@ public: case GCC: return false; case MacOSX: return true; case GNUstep: return true; - case ObjFW: return false; + case ObjFW: return true; case iOS: return true; } llvm_unreachable("bad kind");