[cfe-dev] [LLVMdev] [PATCH] Context of DW_TAG_member

Devang Patel dpatel at apple.com
Mon Jun 20 10:00:00 PDT 2011


On Jun 18, 2011, at 3:14 PM, Xi Wang wrote:

> Hi,
> 
> When generating debugging information for a data member (e.g., a struct field), Clang doesn't set the member's context to the enclosed class/struct/union type --- it currently sets the context to the file instead.  The attached patch corrects this.  Thanks.

Do you have a test case ?
Please update createMemberType() directly, instead of creating new overloaded  createMemberType().
Thanks,
-
Devang
> 
> - xi
> 
> 
> <clang.diff><llvm.diff>_______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the cfe-dev mailing list