[Lldb-commits] [lldb] [lldb-dap] Add an option to provide a format for threads (PR #72196)

2023-11-14 Thread Walter Erquinigo via lldb-commits
https://github.com/walter-erquinigo closed https://github.com/llvm/llvm-project/pull/72196 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Add an option to provide a format for threads (PR #72196)

2023-11-14 Thread Greg Clayton via lldb-commits
https://github.com/clayborg approved this pull request. https://github.com/llvm/llvm-project/pull/72196 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Add an option to provide a format for threads (PR #72196)

2023-11-14 Thread Walter Erquinigo via lldb-commits
https://github.com/walter-erquinigo updated https://github.com/llvm/llvm-project/pull/72196 >From b6205d1befdaefc5ef17a9bc7b3eec960caecda6 Mon Sep 17 00:00:00 2001 From: walter erquinigo Date: Mon, 13 Nov 2023 21:42:26 -0500 Subject: [PATCH] thread format --- lldb/include/lldb/API/SBFormat.h

[Lldb-commits] [lldb] [lldb-dap] Add an option to provide a format for threads (PR #72196)

2023-11-14 Thread Walter Erquinigo via lldb-commits
@@ -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

[Lldb-commits] [lldb] [lldb-dap] Add an option to provide a format for threads (PR #72196)

2023-11-13 Thread Greg Clayton via lldb-commits
https://github.com/clayborg requested changes to this pull request. On simple change and this is good to go. https://github.com/llvm/llvm-project/pull/72196 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailma

[Lldb-commits] [lldb] [lldb-dap] Add an option to provide a format for threads (PR #72196)

2023-11-13 Thread Greg Clayton via lldb-commits
@@ -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); claybo

[Lldb-commits] [lldb] [lldb-dap] Add an option to provide a format for threads (PR #72196)

2023-11-13 Thread Greg Clayton via lldb-commits
https://github.com/clayborg edited https://github.com/llvm/llvm-project/pull/72196 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Add an option to provide a format for threads (PR #72196)

2023-11-13 Thread Walter Erquinigo via lldb-commits
https://github.com/walter-erquinigo updated https://github.com/llvm/llvm-project/pull/72196 >From bedae95f3c3f9d719b3677ef59c262283b813284 Mon Sep 17 00:00:00 2001 From: walter erquinigo Date: Mon, 13 Nov 2023 21:42:26 -0500 Subject: [PATCH] thread format --- lldb/include/lldb/API/SBFormat.h

[Lldb-commits] [lldb] [lldb-dap] Add an option to provide a format for threads (PR #72196)

2023-11-13 Thread Walter Erquinigo via lldb-commits
https://github.com/walter-erquinigo updated https://github.com/llvm/llvm-project/pull/72196 >From 00c258dd5c90cd920e5771ac89c0a8d2e97be937 Mon Sep 17 00:00:00 2001 From: walter erquinigo Date: Mon, 13 Nov 2023 21:42:26 -0500 Subject: [PATCH] thread format --- lldb/include/lldb/API/SBFormat.h

[Lldb-commits] [lldb] [lldb-dap] Add an option to provide a format for threads (PR #72196)

2023-11-13 Thread via lldb-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r e9453f3c3c7e682e39952c9e18e6b1f8152b0ffa..5b5ec92b655e390e652fafbe3f56628ff822ee51 lldb/p

[Lldb-commits] [lldb] [lldb-dap] Add an option to provide a format for threads (PR #72196)

2023-11-13 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Walter Erquinigo (walter-erquinigo) Changes When this option gets enabled, descriptions of threads will be generated using the format provided in the launch configuration instead of generating it manually in the dap code. This allows lldb-

[Lldb-commits] [lldb] [lldb-dap] Add an option to provide a format for threads (PR #72196)

2023-11-13 Thread Walter Erquinigo via lldb-commits
https://github.com/walter-erquinigo created https://github.com/llvm/llvm-project/pull/72196 When this option gets enabled, descriptions of threads will be generated using the format provided in the launch configuration instead of generating it manually in the dap code. This allows lldb-dap to