[cfe-dev] GNU runtime non-fragile ABI and cleanup
Fariborz Jahanian
fjahanian at apple.com
Sun Aug 30 10:46:59 PDT 2009
Did you want this in your patch?
Index: test/CodeGenObjC/attr-strong.c
===================================================================
--- test/CodeGenObjC/attr-strong.c (revision 80437)
+++ test/CodeGenObjC/attr-strong.c (working copy)
@@ -1,9 +1,7 @@
-// RUN: clang -emit-llvm -S -o %t %s
-
-struct s0 {
- void *a;
-};
-struct s0 * __attribute__((objc_gc(strong))) g0;
-void f0(void) {
- g0->a = 0;
+CodeGenObjC/PR4541.m:11:17: warning: cannot find interface
declaration for 'CYObjectsController'
+ at implementation CYObjectsController
+ ^
+CodeGenObjC/PR4541.m:16:1: warning: control reaches end of non-void
function
}
+^
+2 diagnostics generated.
- Fariborz
On Aug 29, 2009, at 7:01 PM, David Chisnall wrote:
> Updated version of the diff tidies up a few more things, and adds
> support for the -fconstant-string-class= flag (GCC-compatibility).
>
> David
>
> On 29 Aug 2009, at 23:52, David Chisnall wrote:
>
>> Hi,
>>
>> The attached diff removes the MakeConstantString() method from
>> CGObjCGNU and replaces uses to it with the equivalent method in
>> CodeGenModule. It also updates the non-fragile ABI implementation.
>>
>> David
>> <clang.diff>
>
> <clang.diff>_______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list