On Sun, Feb 11, 2018 at 3:31 PM, Dimitry Andric wrote:
> On 9 Feb 2018, at 22:30, Dimitry Andric wrote:
>>
>> On 9 Feb 2018, at 22:11, Dimitry Andric via Openmp-dev
>> wrote:
>>>
>>> On 9 Feb 2018, at 20:40, Dimitry Andric via cfe-dev
>>> wrote:
> On 9 Feb 2018, at 10:20, Hans Wennbo
[ 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
> "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
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
Firstly, here are the characters in our story:
* lldb
$ lldb --version
lldb version 5.0.1
* clang
$ p=/path/to/clang
$ file -L "$p"
/path/to/clang: ELF 64-bit LSB shared object, x86-64, version 1
(GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86