[Lldb-commits] [lldb] [lldb] Clear ModuleList shared modules in SBDebugger::Clear (PR #147289)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 7 05:42:10 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/python_api/debugger/TestDebuggerAPI.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestDebuggerAPI.py 2025-07-07 12:26:13.000000 +0000
+++ TestDebuggerAPI.py 2025-07-07 12:41:42.657880 +0000
@@ -304,12 +304,11 @@
self.runCmd("log enable lldb module")
self.dbg.Destroy(self.dbg)
self.assertFalse(any("cleared shared modules cache" in msg for msg in messages))
def test_enable_SetClearSharedModules(self):
- """Check that SetClearSharedModule(true) clears shared module cache.
- """
+ """Check that SetClearSharedModule(true) clears shared module cache."""
messages = list()
self.dbg.SetLoggingCallback(messages.append)
self.dbg.SetClearSharedModules(True)
self.runCmd("log enable lldb module")
self.dbg.Destroy(self.dbg)
``````````
</details>
https://github.com/llvm/llvm-project/pull/147289
More information about the lldb-commits
mailing list