Re: [Dwarf-discuss] Question on Clang 18.1.8 and DW_IDX_parent

2024-09-06 Thread pogo 59 via Dwarf-discuss
> Maybe this is something we could submit for standardization? Definitely. --paulr On Wed, Sep 4, 2024 at 8:49 AM Felipe de Azevedo Piovezan via Dwarf-discuss wrote: > David has pretty much summed it up, but to restate: > > When we implemented this, we had to be able to distinguish the two cas

Re: [Dwarf-discuss] Question on Clang 18.1.8 and DW_IDX_parent

2024-09-04 Thread Felipe de Azevedo Piovezan via Dwarf-discuss
David has pretty much summed it up, but to restate: When we implemented this, we had to be able to distinguish the two cases below: 1. there are no IDX_parent in an accelerator table because the producer did not generate them. 2. there are no IDX_parent in an accelerator table because the parent

Re: [Dwarf-discuss] Question on Clang 18.1.8 and DW_IDX_parent

2024-09-03 Thread Adrian Prantl via Dwarf-discuss
CC'ing Felipe Piovezan, who implement this feature, in case he wants to fill in more details. -- adrian > On Sep 3, 2024, at 10:06 AM, David Blaikie via Dwarf-discuss > wrote: > > Some context: > https://discourse.llvm.org/t/rfc-improve-dwarf-5-debug-names-type-lookup-parsing-speed/74151/44 >

Re: [Dwarf-discuss] Question on Clang 18.1.8 and DW_IDX_parent

2024-09-03 Thread David Anderson via Dwarf-discuss
On 9/3/24 10:06, David Blaikie via Dwarf-discuss wrote: Some context: https://discourse.llvm.org/t/rfc-improve-dwarf-5-debug-names-type-lookup-parsing-speed/74151/44 https://github.com/llvm/llvm-pr

Re: [Dwarf-discuss] Question on Clang 18.1.8 and DW_IDX_parent

2024-09-03 Thread David Blaikie via Dwarf-discuss
Some context: https://discourse.llvm.org/t/rfc-improve-dwarf-5-debug-names-type-lookup-parsing-speed/74151/44 https://github.com/llvm/llvm-project/pull/77457 Essentially clang/llvm produces DW_IDX_parent with DW_FORM_flag_present when the entry has a parent, but that parent isn't indexed (I think