Resolution: Won't Do
Component/s: LLDB for Swift
Fedora 32 with master build:
Swift version 5.3-dev (LLVM 94a8a8d0ffb5977, Swift ec8d5f4ecbe53e6)
I am working on a command line app on Linux (Fedora 32). I am trying to use the sd-bus API from systemd, however am having some issues using the API.
While trying to debug, I have found that LLDB will not step into the sd-bus functions I am calling, even though I have the relevant -debug-info and -debug-source packages installed.
I have also installed the LZMA dev packages and manually enabled LLDB's support for LZMA-compressed debug info in the swift build script.
I do note the following warning from LLDB when starting execution:
I am able to use step-inst to descend into the functions, however no usable symbol info is available.
Example LLDB output:
GDB output showing expected symbols:
I note a number of patches for LLDB in 2019 to add LZMA and .gnu-debug-data support, but I would assume these have been integrated into LLDB 10.0 which Swift 5.3 seems to be using.