[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 06:47:02 PDT 2025
labath wrote:
No debug info in the currently selected frame. Or at least, I think so, based on looking at the code you're fixing. You can verify that by checking whether the current code crashes in that scenario. I'm right, it should be sufficient to build one file with -g0.
`symbols.enable-external-lookup` is sort of related to that, in that it can cause some frame to not have debug info (i.e., an associated compile unit), but it's not directly related as there are other things that can cause a frame to not have debug info. And those things are easier to reproduce in a test.
https://github.com/llvm/llvm-project/pull/147955
More information about the lldb-commits
mailing list