[Lldb-commits] [lldb] [LLDB] Expose enumerator for separate-debug-info in SBModule (PR #144119)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 8 09:54:43 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/python_api/sbmodule/SeperateDebugInfo/TestSBModuleSeparateDebugInfo.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
--- TestSBModuleSeparateDebugInfo.py	2026-06-08 16:51:36.000000 +0000
+++ TestSBModuleSeparateDebugInfo.py	2026-06-08 16:54:05.640631 +0000
@@ -65,11 +65,12 @@
         module = target.GetModuleAtIndex(0)
         self.assertTrue(module.IsValid())
 
         files = module.GetSeparateDebugInfoFiles()
         self.assertGreaterEqual(
-            files.GetSize(), 2,
+            files.GetSize(),
+            2,
             "Expected at least 2 .o files (main + foo)",
         )
 
         o_paths = []
         for i in range(files.GetSize()):

``````````

</details>


https://github.com/llvm/llvm-project/pull/144119


More information about the lldb-commits mailing list