[Lldb-commits] [lldb] [lldb/Target] Add SyntheticFrameProvider class (PR #166664)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 6 10:12:51 PST 2025
================
@@ -0,0 +1,100 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "lldb/Target/SyntheticFrameProvider.h"
+#include "lldb/Core/PluginManager.h"
+#include "lldb/Target/Thread.h"
+#include "lldb/Utility/LLDBLog.h"
+#include "lldb/Utility/Log.h"
+#include "lldb/Utility/Status.h"
+
+using namespace lldb;
+using namespace lldb_private;
+
+SyntheticFrameProvider::SyntheticFrameProvider(StackFrameListSP input_frames)
+ : m_input_frames(std::move(input_frames)) {}
+
+SyntheticFrameProvider::~SyntheticFrameProvider() = default;
+
+void SyntheticFrameProviderDescriptor::Dump(Stream *s) const {
+ if (!s)
+ return;
+
+ s->Printf(" Name: %s\n", GetName().str().c_str());
+
+ // Show thread filter information
----------------
JDevlieghere wrote:
```suggestion
// Show thread filter information.
```
https://github.com/llvm/llvm-project/pull/166664
More information about the lldb-commits
mailing list