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