[cfe-dev] Block introspection and GNU runtime new ABI support

Fariborz Jahanian fjahanian at apple.com
Thu Sep 10 14:49:25 PDT 2009

On Sep 9, 2009, at 6:39 PM, David Chisnall wrote:

> Hi everyone,
> I've attached two diffs, which can be reviewed separately by  
> probably don't apply cleanly in isolation because they modify the  
> same files in a couple of places.
> One adds support for the new (hopefully finalised this time...) GNU  
> non-fragile ABI.  This also removes the -fsender-aware-dispatch flag  
> as the relevant features have been folded into the non-fragile ABI.   
> I've updated the relevant test.  I may have accidentally reverted  
> some of the reindenting that was done since I started modifying this  
> file and svn decided to get very confused about how merging was  
> meant to work; I've tried to manually merge everything, but I may  
> have missed a spot or two.

Checked in TOT: http://llvm.org/viewvc/llvm-project?view=rev&revision=81462

- fariborz

> The other patch adds a -fblock-introspection flag.  When this is  
> specified, or when -fgnu-runtime is specified, an extra field is  
> added to the block structure that contains an Objective-C type  
> encoding of the block function.  I've also updated one of the block  
> tests to ensure that this field is only being emitted when the flag  
> is provided.
> All tests pass with both patches applied.
> David
> < 
> gnu_nonfragile 
> .diff 
> > 
> < 
> block_introspection 
> .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