[Lldb-commits] [lldb] [lldb-dap] Add an option to provide a format for stack frames (PR #71843)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Sat Nov 11 10:55:28 PST 2023
================
@@ -1779,18 +1779,36 @@ void StackFrame::CalculateExecutionContext(ExecutionContext &exe_ctx) {
exe_ctx.SetContext(shared_from_this());
}
+bool StackFrame::DumpUsingFormat(Stream &strm,
+ const FormatEntity::Entry *format,
+ llvm::StringRef frame_marker,
+ bool use_fallback_format_on_error) {
----------------
clayborg wrote:
I am also leaning on having the `use_fallback_format_on_error` parameter removed and letting the user decide what to do if things fail. I am open to differing opinions here if others feel differently
https://github.com/llvm/llvm-project/pull/71843
More information about the lldb-commits
mailing list