From: Benjamin Kramer Date: Sat, 23 Nov 2013 10:57:32 +0000 (+0000) Subject: Enable non-fragile ABI for the ObjFW runtime X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd39a7dd3a9e9b9a6a1653fe90d3e667dd777f66;p=clang 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/trunk@195547 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");