[LLVMdev] [PATCH] Context of DW_TAG_member

Devang Patel
2011-06-20T17:00:00Z

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