[lldb-dev] "error: summary string parsing error" on Fedora 30
Bob Eastbrook via lldb-dev
lldb-dev at lists.llvm.org
Mon Jul 22 13:15:50 PDT 2019
On Fri, Jul 19, 2019 at 4:08 PM Greg Clayton <clayborg at 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.
More information about the lldb-dev
mailing list