[Lldb-commits] [lldb] [lldb] Track the target's executable instead of guessing (PR #228131)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 1 10:57:57 PDT 2026
================
@@ -2961,7 +2961,7 @@ class ProcessAttachFormDelegate : public FormDelegate {
return "";
ModuleSP module_sp = target->GetExecutableModule();
- if (!module_sp->IsExecutable())
+ if (!module_sp || !module_sp->IsExecutable())
----------------
bulbazord wrote:
Does this still need to check for `IsExecutable`?
https://github.com/llvm/llvm-project/pull/228131
More information about the lldb-commits
mailing list