[Lldb-commits] [lldb] Add a scripted way to re-present a stop location (PR #158128)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 7 13:05:06 PDT 2025


================
@@ -100,6 +106,14 @@ ScriptInterpreter::GetStatusFromSBError(const lldb::SBError &error) const {
   return Status();
 }
 
+lldb::StackFrameSP
+ScriptInterpreter::GetOpaqueTypeFromSBFrame(const lldb::SBFrame &frame) const {
+  if (frame.m_opaque_sp) {
+    return frame.m_opaque_sp->GetFrameSP();
+  }
----------------
JDevlieghere wrote:

```suggestion
  if (frame.m_opaque_sp) 
    return frame.m_opaque_sp->GetFrameSP();
```

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


More information about the lldb-commits mailing list