On 22/07/2021 12:52, Richard Biener wrote: > On Thu, Jul 22, 2021 at 1:48 PM Jakub Jelinek <ja...@redhat.com> wrote: >> >> On Thu, Jul 22, 2021 at 01:43:49PM +0200, Richard Biener wrote: >>> So I think we need to get to an agreement between the debug info >>> producer and consumer here. >>> Usually the DWARF spec is not of much help here. >> >> It is something that needs to be discussed for DWARF 6, currently indeed can >> be solved only with some DWARF extensions we'd need to invent. > > I mean, the question is what should the concrete instance inherit from > the abstract instance - IMHO parent-child relationship is one thing, no?
I guess the problem is that pointer is one-sided from concrete to abstract. With this change, one can go from concrete child function to abstract child (and abstract parent). But it is not easy to find the concrete parent for the consumer as there is no link from abstract to concrete. Thanks, -- Hafiz Abid Qadeer Mentor, a Siemens Business