search for: insertdi

Displaying 20 results from an estimated 23 matches for "insertdi".

Did you mean: insertdie
2013 Oct 10
4
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...pe || issubprogram" check should probably be pulled out into >> a separate function, something like "isShareableAcrossCUs" or something >> like that (please, that's not the best name, let's discuss it further >> before we settle on a name) so that getDIE and insertDIE 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 addD...
2013 Oct 11
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...check should probably be pulled out >>>> into a separate function, something like "isShareableAcrossCUs" or >>>> something like that (please, that's not the best name, let's discuss it >>>> further before we settle on a name) so that getDIE and insertDIE 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. >>> >> Don...
2013 Oct 09
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...nit.cpp: the "istype || issubprogram" check should probably be pulled out into a separate function, something like "isShareableAcrossCUs" or something like that (please, that's not the best name, let's discuss it further before we settle on a name) so that getDIE and insertDIE are sure to use the same test at all times. 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? I'm still unsure about this worklist thing - do your current tests cover the need for the wo...
2013 Oct 11
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...rogram" check should probably be pulled out >>> into a separate function, something like "isShareableAcrossCUs" or >>> something like that (please, that's not the best name, let's discuss it >>> further before we settle on a name) so that getDIE and insertDIE 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. > &g...
2013 Oct 09
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...e "istype || issubprogram" check should probably be pulled out into > a separate function, something like "isShareableAcrossCUs" or something > like that (please, that's not the best name, let's discuss it further > before we settle on a name) so that getDIE and insertDIE 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. > Why does addDIEEntry take a form? When does the caller get to choose the > f...
2013 Oct 05
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...it is from r176882, but instead of always using an integer for ref_addr, we use label + offset for relocation on non-darwin platforms. The second patch is a modified version of r191792. The main change is to use a single map instead of 3 maps in DwarfDebug and instead of calling DwarfDebug::getDIE|insertDIE directly, we delegate the function calls to DwarfDebug from CompileUnit. No testing case is added in the 1st patch, since the compiler does not use ref_addr yet. For the 2nd patch, testing cases are updated to make sure we remove duplicated DIEs and use ref_addr to refer to the type DIE. A testi...
2013 Oct 15
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...check should probably be pulled out >>>> into a separate function, something like "isShareableAcrossCUs" or >>>> something like that (please, that's not the best name, let's discuss it >>>> further before we settle on a name) so that getDIE and insertDIE 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. >>> >> Don...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...rogram" check should probably be pulled out >>> into a separate function, something like "isShareableAcrossCUs" or >>> something like that (please, that's not the best name, let's discuss it >>> further before we settle on a name) so that getDIE and insertDIE 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. > &g...
2013 Oct 15
4
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...e pulled out >>>>>> into a separate function, something like "isShareableAcrossCUs" or >>>>>> something like that (please, that's not the best name, let's discuss it >>>>>> further before we settle on a name) so that getDIE and insertDIE 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 >>>>> o...
2013 Oct 09
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...instead of always using an integer for > ref_addr, we use label + offset for relocation on non-darwin platforms. > > The second patch is a modified version of r191792. > The main change is to use a single map instead of 3 maps in DwarfDebug and > instead of calling DwarfDebug::getDIE|insertDIE directly, we delegate the > function calls to DwarfDebug from CompileUnit. > > No testing case is added in the 1st patch, since the compiler does not use > ref_addr yet. > > For the 2nd patch, testing cases are updated to make sure we remove > duplicated DIEs and use ref_addr...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...d probably be pulled out >>>>> into a separate function, something like "isShareableAcrossCUs" or >>>>> something like that (please, that's not the best name, let's discuss it >>>>> further before we settle on a name) so that getDIE and insertDIE 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. >&...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...>>>>>>> into a separate function, something like "isShareableAcrossCUs" or >>>>>>> something like that (please, that's not the best name, let's discuss it >>>>>>> further before we settle on a name) so that getDIE and insertDIE 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 >&g...
2013 Oct 15
1
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...;>>>>> into a separate function, something like "isShareableAcrossCUs" or something >>>>>>>> like that (please, that's not the best name, let's discuss it further before >>>>>>>> we settle on a name) so that getDIE and insertDIE 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 in...
2013 Mar 09
1
[LLVMdev] Question about abstract subprograms in debug info
...ORM_ref4, AbsSPDIE); SPCU->addDie(SPDie); } … } The compile unit DIE where AbsSPDIE belongs to is different from the compile unit DIE SPCU->getCUDie(). So it is not legal to use a FORM_ref4 here. Why do we create these subprogram DIEs here? They are added to SPCU, but not inserted via insertDIE, so they are not in the MDNodeToDieMap of the CU. Another question is how to fix this if we need to create these subprograms. Should we use FORM_ref_addr here? FORM_ref_addr is not supported yet, I am wondering whether that will break any debugger. Another fix seems to be copying the attributes o...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...>>>>>>> into a separate function, something like "isShareableAcrossCUs" or >>>>>>> something like that (please, that's not the best name, let's discuss it >>>>>>> further before we settle on a name) so that getDIE and insertDIE 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 >&g...
2013 Oct 15
2
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...;>>>> out into a separate function, something like "isShareableAcrossCUs" or >>>>>>>> something like that (please, that's not the best name, let's discuss it >>>>>>>> further before we settle on a name) so that getDIE and insertDIE 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 DwarfDebu...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...;>> out into a separate function, something like "isShareableAcrossCUs" or >>>>>>>>> something like that (please, that's not the best name, let's discuss it >>>>>>>>> further before we settle on a name) so that getDIE and insertDIE 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...
2013 Oct 15
4
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...; out into a separate function, something like "isShareableAcrossCUs" or >>>>>>>>>> something like that (please, that's not the best name, let's discuss it >>>>>>>>>> further before we settle on a name) so that getDIE and insertDIE are sure >>>>>>>>>> to use the same test at all times. >>>>>>>>>> >>>>>>>>> Yes, the condition is shared between getDIE and insertDIE. I like >>>>>>>>> isSharableAcrossCUs, because tha...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...to a separate function, something like "isShareableAcrossCUs" or >>>>>>>>>>> something like that (please, that's not the best name, let's discuss it >>>>>>>>>>> further before we settle on a name) so that getDIE and insertDIE are sure >>>>>>>>>>> to use the same test at all times. >>>>>>>>>>> >>>>>>>>>> Yes, the condition is shared between getDIE and insertDIE. I like >>>>>>>>>> isSharableAcross...
2013 Oct 15
0
[LLVMdev] [Debug Info PATCH] for support of ref_addr and removal of DIE duplication
...to a separate function, something like "isShareableAcrossCUs" or >>>>>>>>>>> something like that (please, that's not the best name, let's discuss it >>>>>>>>>>> further before we settle on a name) so that getDIE and insertDIE are sure >>>>>>>>>>> to use the same test at all times. >>>>>>>>>>> >>>>>>>>>> Yes, the condition is shared between getDIE and insertDIE. I like >>>>>>>>>> isSharableAcross...