search for: disubprogramdecl

Displaying 4 results from an estimated 4 matches for "disubprogramdecl".

2016 Dec 23
0
distinct DISubprograms hindering sharing inlined subprogram descriptions
...dly whether we can/should break DISubprogram apart into uniqued (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 //...
2016 Dec 23
2
distinct DISubprograms hindering sharing inlined subprogram descriptions
...ak DISubprogram apart > into uniqued (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: > DISubpro...
2016 Dec 24
0
distinct DISubprograms hindering sharing inlined subprogram descriptions
.../should break DISubprogram apart into uniqued (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 >> >&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