Displaying 20 results from an estimated 44 matches for "adddieentry".
2013 Oct 16
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
> In beginModule, we construct the CUs, but not all the DIEs that belong to
>>> the CU.
>>> In endFunction, we started to construct the scope DIEs. So in some
>>> sense, we are adding things to prior CUs.
>>>
>>> Looking at void CompileUnit::addDIEEntry(DIE *Die, uint16_t Attribute,
>>> DIE *Entry), we can possibly have 3 CUs, this CU,
>>> the CU Die belongs to (i.e. the CU the parent chain points to), the CU
>>> Entry belongs to.
>>>
>>
>> When does "this CU" differ from both the Die and t...
2013 Oct 16
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...t;>>>>>
>>>>>>>>>>> Done in attached patch.
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> Why does addDIEEntry take a form? When does the caller get
>>>>>>>>>>>>> to choose the form rather than the callee deciding between ref4 and
>>>>>>>>>>>>> ref_addr based on context?
>>>>>>>>>>>>>
>>...
2013 Oct 16
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...t; formal_parameter constructed in DwarfDebug when adding attribute type
we call SPCU->addType(Arg, ATy), where Arg does not belong to SPCU.
2> inlined_subroutine constructed in DwarfDebug when adding attribute
abstract_origin
The inlined_subroutine does not belong to the CU we call addDIEEntry
on.
We create the children of inlined_subroutine and call addDIEEntry
before we add it to an owner.
3> ...
When building xalan with "lto -g", I saw 3158 violations of the assumption.
Should we try to fix all these violations to make the assumption true?
As I stated earlier, this...
2013 Oct 17
1
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...> we call SPCU->addType(Arg, ATy), where Arg does not belong to SPCU.
>>>> 2> inlined_subroutine constructed in DwarfDebug when adding attribute
>>>> abstract_origin
>>>> The inlined_subroutine does not belong to the CU we call
>>>> addDIEEntry on.
>>>> We create the children of inlined_subroutine and call addDIEEntry
>>>> before we add it to an owner.
>>>> 3> ...
>>>>
>>>> When building xalan with "lto -g", I saw 3158 violations of the
>>>> assumpti...
2013 Oct 16
3
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...uct the CUs, but not all the DIEs that belong
>>>>> to the CU.
>>>>> In endFunction, we started to construct the scope DIEs. So in some
>>>>> sense, we are adding things to prior CUs.
>>>>>
>>>>> Looking at void CompileUnit::addDIEEntry(DIE *Die, uint16_t Attribute,
>>>>> DIE *Entry), we can possibly have 3 CUs, this CU,
>>>>> the CU Die belongs to (i.e. the CU the parent chain points to), the CU
>>>>> Entry belongs to.
>>>>>
>>>>
>>>> When does &q...
2013 Oct 16
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...t;>>>>>>>>>>
>>>>>>>>>> Done in attached patch.
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> Why does addDIEEntry take a form? When does the caller get
>>>>>>>>>>>> to choose the form rather than the callee deciding between ref4 and
>>>>>>>>>>>> ref_addr based on context?
>>>>>>>>>>>>
>>>>>...
2013 Oct 16
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...ginModule, we construct the CUs, but not all the DIEs that belong
>>>> to the CU.
>>>> In endFunction, we started to construct the scope DIEs. So in some
>>>> sense, we are adding things to prior CUs.
>>>>
>>>> Looking at void CompileUnit::addDIEEntry(DIE *Die, uint16_t Attribute,
>>>> DIE *Entry), we can possibly have 3 CUs, this CU,
>>>> the CU Die belongs to (i.e. the CU the parent chain points to), the CU
>>>> Entry belongs to.
>>>>
>>>
>>> When does "this CU" differ...
2013 Oct 16
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...all the DIEs that
>>>>>> belong to the CU.
>>>>>> In endFunction, we started to construct the scope DIEs. So in some
>>>>>> sense, we are adding things to prior CUs.
>>>>>>
>>>>>> Looking at void CompileUnit::addDIEEntry(DIE *Die, uint16_t
>>>>>> Attribute, DIE *Entry), we can possibly have 3 CUs, this CU,
>>>>>> the CU Die belongs to (i.e. the CU the parent chain points to), the
>>>>>> CU Entry belongs to.
>>>>>>
>>>>>
>>&...
2013 Oct 11
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
The first patch seems fine, though the comment on the modified addDIEEntry
function is a bit confusing:
-/// addDIEEntry - Add a DIE attribute data and value.
+/// addDIEEntry - Add a DIE attribute data and value. The form should be
+/// a reference form: ref1, ref2, ref4, ref8, ref_udata, ref_addr,
+/// or ref_sig8. A form can be chosen inside addDIEEntry.
When the com...
2013 Oct 17
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...warfDebug when adding attribute type
>> we call SPCU->addType(Arg, ATy), where Arg does not belong to SPCU.
>> 2> inlined_subroutine constructed in DwarfDebug when adding attribute
>> abstract_origin
>> The inlined_subroutine does not belong to the CU we call addDIEEntry
>> on.
>> We create the children of inlined_subroutine and call addDIEEntry
>> before we add it to an owner.
>> 3> ...
>>
>> When building xalan with "lto -g", I saw 3158 violations of the
>> assumption. Should we try to fix all these viol...
2013 Oct 17
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...te type
>>> we call SPCU->addType(Arg, ATy), where Arg does not belong to SPCU.
>>> 2> inlined_subroutine constructed in DwarfDebug when adding attribute
>>> abstract_origin
>>> The inlined_subroutine does not belong to the CU we call
>>> addDIEEntry on.
>>> We create the children of inlined_subroutine and call addDIEEntry
>>> before we add it to an owner.
>>> 3> ...
>>>
>>> When building xalan with "lto -g", I saw 3158 violations of the
>>> assumption. Should we try to fix...
2013 Oct 16
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...constructed in DwarfDebug when adding attribute type
> we call SPCU->addType(Arg, ATy), where Arg does not belong to SPCU.
> 2> inlined_subroutine constructed in DwarfDebug when adding attribute
> abstract_origin
> The inlined_subroutine does not belong to the CU we call addDIEEntry
> on.
> We create the children of inlined_subroutine and call addDIEEntry
> before we add it to an owner.
> 3> ...
>
> When building xalan with "lto -g", I saw 3158 violations of the
> assumption. Should we try to fix all these violations to make the
> assu...
2013 Oct 10
4
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...rtDIE are sure to use
>> the same test at all times.
>>
> Yes, the condition is shared between getDIE and insertDIE. I like
> isSharableAcrossCUs, because that is why the map is in DwarfDebug instead
> of CompileUnit.
>
Done in attached patch.
>
>
>> Why does addDIEEntry take a form? When does the caller get to choose
>> the form rather than the callee deciding between ref4 and ref_addr based on
>> context?
>>
>
> addDIEEntry took a form before my change and I didn't check why it did.
> I will check if all callers always use ref4, if...
2013 Oct 16
3
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...gt;>>>>>> belong to the CU.
>>>>>>> In endFunction, we started to construct the scope DIEs. So in some
>>>>>>> sense, we are adding things to prior CUs.
>>>>>>>
>>>>>>> Looking at void CompileUnit::addDIEEntry(DIE *Die, uint16_t
>>>>>>> Attribute, DIE *Entry), we can possibly have 3 CUs, this CU,
>>>>>>> the CU Die belongs to (i.e. the CU the parent chain points to), the
>>>>>>> CU Entry belongs to.
>>>>>>>
>>>&g...
2013 Oct 11
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...est at all times.
>>>
>> Yes, the condition is shared between getDIE and insertDIE. I like
>> isSharableAcrossCUs, because that is why the map is in DwarfDebug instead
>> of CompileUnit.
>>
> Done in attached patch.
>
>>
>>
>>> Why does addDIEEntry take a form? When does the caller get to choose
>>> the form rather than the callee deciding between ref4 and ref_addr based on
>>> context?
>>>
>>
>> addDIEEntry took a form before my change and I didn't check why it did.
>> I will check if all call...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...;> of CompileUnit.
>>>>>>>>>>
>>>>>>>>> Done in attached patch.
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> Why does addDIEEntry take a form? When does the caller get to
>>>>>>>>>>> choose the form rather than the callee deciding between ref4 and ref_addr
>>>>>>>>>>> based on context?
>>>>>>>>>>>
>>>>>>>>...
2013 Oct 15
4
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...;>>>>>>> of CompileUnit.
>>>>>>>>>
>>>>>>>> Done in attached patch.
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> Why does addDIEEntry take a form? When does the caller get to
>>>>>>>>>> choose the form rather than the callee deciding between ref4 and ref_addr
>>>>>>>>>> based on context?
>>>>>>>>>>
>>>>>>>>>
>&g...
2013 Oct 15
4
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...E. I like
>>>>> isSharableAcrossCUs, because that is why the map is in DwarfDebug instead
>>>>> of CompileUnit.
>>>>>
>>>> Done in attached patch.
>>>>
>>>>>
>>>>>
>>>>>> Why does addDIEEntry take a form? When does the caller get to
>>>>>> choose the form rather than the callee deciding between ref4 and ref_addr
>>>>>> based on context?
>>>>>>
>>>>>
>>>>> addDIEEntry took a form before my change and I di...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...t; isSharableAcrossCUs, because that is why the map is in DwarfDebug instead
>>>>>> of CompileUnit.
>>>>>>
>>>>> Done in attached patch.
>>>>>
>>>>>>
>>>>>>
>>>>>>> Why does addDIEEntry take a form? When does the caller get to
>>>>>>> choose the form rather than the callee deciding between ref4 and ref_addr
>>>>>>> based on context?
>>>>>>>
>>>>>>
>>>>>> addDIEEntry took a form befor...
2013 Oct 15
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...use that is why the map is in DwarfDebug instead
>>>>>>> of CompileUnit.
>>>>>>>
>>>>>> Done in attached patch.
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Why does addDIEEntry take a form? When does the caller get to
>>>>>>>> choose the form rather than the callee deciding between ref4 and ref_addr
>>>>>>>> based on context?
>>>>>>>>
>>>>>>>
>>>>>>> addDIEEnt...