[Lldb-commits] [lldb] [lldb] Expose language plugin commands based based on language of current frame (PR #136766)
via lldb-commits
lldb-commits at lists.llvm.org
Thu May 1 12:30:31 PDT 2025
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 HEAD~1...HEAD lldb/test/API/commands/command/language/TestFrameLanguageCommands.py lldb/test/API/commands/command/language/commands.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestFrameLanguageCommands.py 2025-05-01 19:27:11.000000 +0000
+++ TestFrameLanguageCommands.py 2025-05-01 19:29:57.820344 +0000
@@ -1,9 +1,10 @@
import lldb
from lldbsuite.test.lldbtest import *
from lldbsuite.test.decorators import *
import lldbsuite.test.lldbutil as lldbutil
+
class TestCase(TestBase):
def test(self):
self.build()
_, _, thread, _ = lldbutil.run_to_source_breakpoint(
--- commands.py 2025-05-01 19:27:11.000000 +0000
+++ commands.py 2025-05-01 19:29:57.828082 +0000
@@ -1,5 +1,6 @@
import lldb
+
@lldb.command("tagged-pointer-collision")
def noop(dbg, cmdstr, ctx, result, _):
print("ran tagged-pointer-collision", file=result)
``````````
</details>
https://github.com/llvm/llvm-project/pull/136766
More information about the lldb-commits
mailing list