[Lldb-commits] [lldb] [lldb/Target] Add BorrowedStackFrame and make StackFrame methods virtual (PR #170191)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 1 18:17:16 PST 2025


================
@@ -1761,6 +1764,23 @@ bool FormatEntity::Format(const Entry &entry, Stream &s,
     return false;
   }
 
+  case Entry::Type::FrameBorrowedInfo: {
+    if (exe_ctx)
+      if (StackFrame *frame = exe_ctx->GetFramePtr()) {
+        if (BorrowedStackFrame *borrowed_frame =
+                llvm::dyn_cast<BorrowedStackFrame>(frame)) {
+          ;
----------------
JDevlieghere wrote:

```suggestion
```

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


More information about the lldb-commits mailing list