[Lldb-commits] [lldb] [lldb-dap] Add an option to provide a format for threads (PR #72196)
Walter Erquinigo via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 14 07:07:33 PST 2023
================
@@ -839,4 +839,19 @@ void DAP::SetFrameFormat(llvm::StringRef format) {
}
}
+void DAP::SetThreadFormat(llvm::StringRef format) {
+ if (format.empty())
+ return;
+ lldb::SBError error;
+ g_dap.thread_format = lldb::SBFormat(format.data(), error);
----------------
walter-erquinigo wrote:
good catch. I sometimes forget that StringRef can contain anything
https://github.com/llvm/llvm-project/pull/72196
More information about the lldb-commits
mailing list