[Dwarf-Discuss] CU-local types

Robinson, Paul paul.robinson at sony.com
Wed May 18 04:16:27 PDT 2022


> Looks like gdb and lldb both have issues with C++ local types (either
> types defined in anonymous namespaces, or otherwise localized - eg: a
> non-local template with a local type or variable in one of its
> parameters). 
> ...
> So... what could/should we do about this?

Do you have a strong argument for why these are not debugger bugs?
It sounds to me like gdb/lldb are handling anonymous namespaces
incorrectly, in effect treating their contents as global rather than 
CU-local.

--paulr




More information about the Dwarf-Discuss mailing list