[cfe-dev] [LLVMdev] [PATCH] Context of DW_TAG_member
Devang Patel
dpatel at apple.com
Fri Jun 24 15:07:46 PDT 2011
On Jun 23, 2011, at 6:55 PM, Xi Wang wrote:
> 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.
Looks good. I applied your patch. r133829.
Thanks!
-
Devang
More information about the cfe-dev
mailing list