r195547 - Enable non-fragile ABI for the ObjFW runtime

Benjamin Kramer benny.kra at googlemail.com
Sat Nov 23 02:57:32 PST 2013


Author: d0k
Date: Sat Nov 23 04:57:32 2013
New Revision: 195547

URL: http://llvm.org/viewvc/llvm-project?rev=195547&view=rev
Log:
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!

Modified:
    cfe/trunk/include/clang/Basic/ObjCRuntime.h

Modified: cfe/trunk/include/clang/Basic/ObjCRuntime.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/ObjCRuntime.h?rev=195547&r1=195546&r2=195547&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/ObjCRuntime.h (original)
+++ cfe/trunk/include/clang/Basic/ObjCRuntime.h Sat Nov 23 04:57:32 2013
@@ -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");





More information about the cfe-commits mailing list