[Lldb-commits] [lldb] [lldb] Add target.process.always-run-thread-names setting (PR #192870)
via lldb-commits
lldb-commits at lists.llvm.org
Sun Apr 19 17:56:19 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r origin/main...HEAD lldb/test/API/functionalities/always-run-threads/TestAlwaysRunThreadNames.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestAlwaysRunThreadNames.py 2026-04-20 00:54:45.000000 +0000
+++ TestAlwaysRunThreadNames.py 2026-04-20 00:55:48.050808 +0000
@@ -15,13 +15,11 @@
(target, _, thread, _) = lldbutil.run_to_source_breakpoint(
self, "// break here", lldb.SBFileSpec("main.cpp")
)
# Configure the setting to keep our helper thread running.
- self.runCmd(
- "settings set target.process.always-run-thread-names always-run"
- )
+ self.runCmd("settings set target.process.always-run-thread-names always-run")
# Record the helper thread's counter before stepping.
counter_before = target.FindFirstGlobalVariable("g_helper_count")
self.assertTrue(counter_before.IsValid())
val_before = counter_before.GetValueAsUnsigned()
``````````
</details>
https://github.com/llvm/llvm-project/pull/192870
More information about the lldb-commits
mailing list