Re: [lldb-dev] hashing pointers to strings

2018-02-12 Thread Adrian McCarthy via lldb-dev
If it's dead code, that certainly simplifies things! I've sent a patch for review to remove the unused, untested code. https://reviews.llvm.org/D43202 On Mon, Feb 12, 2018 at 1:52 AM, Pavel Labath wrote: > [ Clang's emission of pubnames/pubtypes is controlled by the "debugger > tuning" param

Re: [lldb-dev] hashing pointers to strings

2018-02-12 Thread Tom Tromey via lldb-dev
> "Pavel" == Pavel Labath via lldb-dev writes: Pavel> [ Clang's emission of pubnames/pubtypes is controlled by the "debugger Pavel> tuning" parameter. With -glldb they don't get emitted, with -ggdb, Pavel> they do. gdb has never read .debug_pubnames, so this setting doesn't really make sense

Re: [lldb-dev] hashing pointers to strings

2018-02-12 Thread Pavel Labath via lldb-dev
[ Clang's emission of pubnames/pubtypes is controlled by the "debugger tuning" parameter. With -glldb they don't get emitted, with -ggdb, they do. (-glldb is default on mac, -ggdb elsewhere). In dwarf5 these sections have been dropped in favour of the new .debug_names section. ] On 10 February 201

Re: [lldb-dev] hashing pointers to strings

2018-02-09 Thread Jim Ingham via lldb-dev
A quick glance indicates that this is all dead code. I can't see anything that actually instantiates either of the pubnames classes. The DWARF pubnames tables were a previous attempt at producing DWARF indexes, but they didn't contain enough information to actually forstall deep dives into the