> On Jul 22, 2019, at 1:15 PM, Bob Eastbrook <baconeater...@gmail.com> wrote:
> 
> On Fri, Jul 19, 2019 at 4:08 PM Greg Clayton <clayb...@gmail.com> wrote:
> 
>> Sounds like the compiler omitted the type info for std::string. Try "-glldb" 
>> in your compiler flags. This tunes debug info for LLDB. A lot of compilers 
>> will try to omit types from debug info if the type doesn't originate in the 
>> current executable. std::string would be one of those classes. If that flag 
>> doesn't work, then you might try -fno-limit-debug-info.
> 
> Thanks, Greg.  Using "-g -fno-limit-debug-info" did the trick.  All works as 
> expected now.  

Great! Glad I could help.

> Apparently the versions which ship with Ubuntu 19.04 and Fedora 30 differ 
> with respect to this flag.

So are you saying "-glldb" is wrong on Fedora but "-fno-limit-debug-info" works?

_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to