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.  Apparently the versions which ship with Ubuntu
19.04 and Fedora 30 differ with respect to this flag.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to