[cfe-commits] r167931 - in /cfe/trunk: include/clang/AST/ASTContext.h lib/AST/ASTContext.cpp lib/CodeGen/CGBlocks.cpp lib/CodeGen/CGBlocks.h lib/CodeGen/CGDebugInfo.cpp lib/CodeGen/CGObjCGNU.cpp lib/CodeGen/CGObjCMac.cpp lib/CodeGen/CGObjCRuntime.h test/CodeGenObjC/arc-blocks.m test/CodeGenObjC/block-byref-variable-layout.m test/CodeGenObjC/blocks.m test/CodeGenObjC/mrr-captured-block-var-inlined-layout.m

jahanian fjahanian at apple.com
Wed Nov 14 09:28:12 PST 2012


On Nov 14, 2012, at 9:21 AM, Eric Christopher <echristo at gmail.com> wrote:

> 
> 
> Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=167931&r1=167930&r2=167931&view=diff
> ==============================================================================
> --- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
> +++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Wed Nov 14 11:15:51 2012
> @@ -2256,6 +2256,12 @@
>      EltTys.push_back(CreateMemberType(Unit, FType, "__destroy_helper",
>                                        &FieldOffset));
>    }
> +  bool HasByrefExtendedLayout;
> +  Qualifiers::ObjCLifetime Lifetime;
> +  if (CGM.getContext().getByrefLifetime(Type, Lifetime, HasByrefExtendedLayout) &&
> +      HasByrefExtendedLayout)
> +    EltTys.push_back(CreateMemberType(Unit, FType, "__byref_variable_layout",
> +                                      &FieldOffset));
> 
>   
> 
> 80-column I think.

Thanks, in r167932.
- fariborz

> 
> -eric 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121114/7c3b7042/attachment.html>


More information about the cfe-commits mailing list