Displaying 4 results from an estimated 4 matches for "disubprogramdefn".
2016 Dec 23
0
distinct DISubprograms hindering sharing inlined subprogram descriptions
...qued (coalesce-able) and distinct parts. Still being someone ignorant of DWARF itself (and CodeView, for that matter), I'm not entirely sure. But...
Here's my understanding of the current uses of DISubprogram (where I'm using DISubprogramDecl for the usually uniqued declarations, and DISubprogramDefn for the always distinct definitions):
// !dbg
Function -> DISubprogram
// Declaration (optional, only for member functions).
DISubprogramDefn -> DISubprogramDecl
// Variables:
DISubprogramDefn -> MDNode -> DILocalVariable
// Terminator for scope chains:
DILocalVariable [-> DILoca...
2016 Dec 23
2
distinct DISubprograms hindering sharing inlined subprogram descriptions
...inct parts. Still being someone
> ignorant of DWARF itself (and CodeView, for that matter), I'm not entirely
> sure. But...
>
> Here's my understanding of the current uses of DISubprogram (where I'm
> using DISubprogramDecl for the usually uniqued declarations, and
> DISubprogramDefn for the always distinct definitions):
>
> // !dbg
> Function -> DISubprogram
>
> // Declaration (optional, only for member functions).
> DISubprogramDefn -> DISubprogramDecl
>
> // Variables:
> DISubprogramDefn -> MDNode -> DILocalVariable
>
> // Termina...
2016 Dec 24
0
distinct DISubprograms hindering sharing inlined subprogram descriptions
...e) and distinct parts. Still being someone ignorant of DWARF itself (and CodeView, for that matter), I'm not entirely sure. But...
>>
>> Here's my understanding of the current uses of DISubprogram (where I'm using DISubprogramDecl for the usually uniqued declarations, and DISubprogramDefn for the always distinct definitions):
>>
>> // !dbg
>> Function -> DISubprogram
>>
>> // Declaration (optional, only for member functions).
>> DISubprogramDefn -> DISubprogramDecl
>>
>> // Variables:
>> DISubprogramDefn -> MDNode -&g...
2016 Dec 15
6
distinct DISubprograms hindering sharing inlined subprogram descriptions
Branching off from a discussion of improvements to DIGlobalVariable
representations that Adrian's working on - got me thinking about related
changes that have already been made to DISubprogram.
To reduce duplicate debug info when things like linkonce_odr functions were
deduplicated in LTO linking, the relationship between a CU and DISubprogram
was inverted (instead of a CU maintaining a list