[Lldb-commits] [lldb] [lldb] Introduce ScriptedFrameProvider for real threads (PR #161870)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 15 16:10:34 PDT 2025


================
@@ -268,6 +266,19 @@ enum StopReason {
   eStopReasonHistoryBoundary,
 };
 
+/// Scripted Frame Provider Merge Strategies.
+enum ScriptedFrameProviderMergeStrategy {
+  /// Replace the entire stack with scripted frames
+  eScriptedFrameProviderMergeStrategyReplace = 0,
+  /// Prepend scripted frames before real unwound frames
+  eScriptedFrameProviderMergeStrategyPrepend,
+  /// Append scripted frames after real unwound frames
+  eScriptedFrameProviderMergeStrategyAppend,
+  /// Replace specific frame indices with scripted frames, keeping other real
+  /// frames
+  eScriptedFrameProviderMergeStrategyReplaceByIndex,
+};
----------------
JDevlieghere wrote:

Presumably this is not necessary if you take the existing list, and then have the provider modify that?

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


More information about the lldb-commits mailing list