[Lldb-commits] [lldb] [LLDB] Check comp_unit before accessing it in DIL (PR #147955)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 10 08:23:15 PDT 2025


https://github.com/labath approved this pull request.

Cool, thanks.

I'm not totally sure about our ability to break on symbols with no debug info on all platforms (particularly, windows). If this fails somewhere, you can use work around this by putting a breakpoint in a file with debug info, then doing an `up` to a frame/file with no debug info, and evaluating the expressions there. You can use this syntax to build a single file with no debug info:

https://github.com/llvm/llvm-project/blob/9ef0a886e621eb4202f82054983c383fa82aff9a/lldb/test/API/lang/objc/class-without-methods/Makefile#L5

https://github.com/llvm/llvm-project/pull/147955


More information about the lldb-commits mailing list