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

Xi Wang xi.wang at gmail.com
Thu Jun 23 18:55:44 PDT 2011


On Jun 23, 2011, at 6:58 PM, Devang Patel wrote:
> 
> That works. Actually, I was curious, how did you run into this  issue ?

I was trying to print a struct field from the debugging information.  However it doesn't refer to the struct at all.

> 
> Large fix OK. Please include test case in new patch.

A new patch along with a test is attached.

1) A scope parameter is added to DIBuilder::createMemberType.

2) In CGDebugInfo, a record/struct type parameter is also added to related functions.

Thanks.

- xi 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: member-clang.diff
Type: application/octet-stream
Size: 9116 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110623/827aeb8e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: member-llvm.diff
Type: application/octet-stream
Size: 2022 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110623/827aeb8e/attachment-0001.obj>


More information about the cfe-dev mailing list