Re: [Dwarf-Discuss] debug_names - what should go in ?

2018-04-10 Thread Jason Merrill via Dwarf-Discuss
On Tue, Apr 10, 2018 at 12:24 PM, Pavel Labath via Dwarf-Discuss wrote: > namespace namesp1 { int var; } > namespace namesp2 = namesp1; // DW_TAG_imported_declaration A namespace alias like this should certainly be represented. I'm not sure about other uses of

Re: [Dwarf-Discuss] debug_names - what should go in ?

2018-04-10 Thread Eric Christopher via Dwarf-Discuss
t ought to be in the index. > > --paulr > > > > > > *From:* Dwarf-Discuss [mailto:dwarf-discuss-boun...@lists.dwarfstd.org] *On > Behalf Of *David Blaikie via Dwarf-Discuss > *Sent:* Tuesday, April 10, 2018 12:30 PM > *To:* Pavel Labath > *Cc:* dwarf-discuss@list

Re: [Dwarf-Discuss] debug_names - what should go in ?

2018-04-10 Thread Paul Robinson via Dwarf-Discuss
-paulr From: Dwarf-Discuss [mailto:dwarf-discuss-boun...@lists.dwarfstd.org] On Behalf Of David Blaikie via Dwarf-Discuss Sent: Tuesday, April 10, 2018 12:30 PM To: Pavel Labath Cc: dwarf-discuss@lists.dwarfstd.org Subject: Re: [Dwarf-Discuss] debug_names - what should go in ? Yep - sounds like

Re: [Dwarf-Discuss] debug_names - what should go in ?

2018-04-10 Thread David Blaikie via Dwarf-Discuss
Yep - sounds like it to me. I suppose, arguably, one could say that successful name lookups of things in the index can be fast, while lookups that fail, or find names not in the index may be slow - but that seems unacceptable to me (in many cases "slow" would be "prohibitively slow" especially

Re: [Dwarf-Discuss] debug_names - what should go in ?

2018-04-10 Thread Michael Eager via Dwarf-Discuss
On 04/10/2018 08:33 AM, Pavel Labath via Dwarf-Discuss wrote: I believe it makes sense to include both of these things in the index (including the implicitly-named imported declarations), however I would also like to stick to the specification as much as possible. I know the spec gives

Re: [Dwarf-Discuss] debug_names - what should go in ?

2018-04-10 Thread Pavel Labath via Dwarf-Discuss
On Tue, 10 Apr 2018 at 16:44, David Blaikie wrote: > I'd say any case where a consumer couldn't actually rely on the table to > do name resolution would be a bug - or at least something that needs to be > seriously considered/discussed/figured out how the name table can be