[LLVMdev] [PATCH] Context of DW_TAG_member

Xi Wang xi.wang at gmail.com
Sat Jun 18 15:14:41 PDT 2011


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.

- xi


-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.diff
Type: application/octet-stream
Size: 3302 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110618/36a5bfa1/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm.diff
Type: application/octet-stream
Size: 2868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110618/36a5bfa1/attachment-0001.obj>


More information about the llvm-dev mailing list