Re: [lldb-dev] STABS

2019-07-30 Thread Pavel Labath via lldb-dev
On 26/07/2019 20:43, Jim Ingham wrote: Amplifying Fred's comments: Most of the code in ParseSymtab is parsing the nlist records in the binary. Only a tiny subset of those nlist records are "stabs". Most are just the format by which MachO expresses its symbol table. So all that needs to be t

Re: [lldb-dev] STABS

2019-07-26 Thread Jim Ingham via lldb-dev
Amplifying Fred's comments: Most of the code in ParseSymtab is parsing the nlist records in the binary. Only a tiny subset of those nlist records are "stabs". Most are just the format by which MachO expresses its symbol table. So all that needs to be there. Over the past couple of years, th

Re: [lldb-dev] STABS

2019-07-26 Thread Frédéric Riss via lldb-dev
> On Jul 26, 2019, at 4:42 AM, Pavel Labath via lldb-dev > wrote: > > Hello everyone, > > I recently found myself looking at ObjectFileMachO.cpp. I noticed that nearly > half of that file (2700 LOC) is taken up by the ParseSymtab function, and > that maybe one third of that is taken up by w

Re: [lldb-dev] STABS

2019-07-26 Thread Jan Kratochvil via lldb-dev
On Fri, 26 Jul 2019 13:42:59 +0200, Pavel Labath via lldb-dev wrote: > Is anyone still using STABS debug info? If not, can we remove it? I have now found just: Re: stabs changes for 64 bit targets https://sourceware.org/ml/gdb/2013-05/msg00057.html "AIX continues to use STA