]> granicus.if.org Git - clang/commitdiff
Enable non-fragile ABI for the ObjFW runtime
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 23 Nov 2013 10:57:32 +0000 (10:57 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 23 Nov 2013 10:57:32 +0000 (10:57 +0000)
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

include/clang/Basic/ObjCRuntime.h

index 52f35a0189a2c1604b5e305b37ea2f3d96658a48..4c6449750373acaf963aaae404b9f5e4896e3d49 100644 (file)
@@ -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");