[Lldb-commits] [lldb] [lldb][Windows] Disable debug heap by default (PR #212126)

via lldb-commits lldb-commits at lists.llvm.org
Sun Jul 26 08:06:10 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/windows/debug-heap/TestWindowsDebugHeap.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
--- TestWindowsDebugHeap.py	2026-07-26 15:02:13.000000 +0000
+++ TestWindowsDebugHeap.py	2026-07-26 15:05:39.020939 +0000
@@ -14,11 +14,11 @@
 
     def tearDown(self):
         self.runCmd("settings clear platform.plugin.windows.disable-debug-heap")
         return super().tearDown()
 
-    def _run_to_exit(self, envp: List[str]=[]):
+    def _run_to_exit(self, envp: List[str] = []):
         self.build()
         target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
         self.assertTrue(target, VALID_TARGET)
         self.dbg.SetAsync(False)
         process = target.LaunchSimple([], envp, self.get_process_working_directory())

``````````

</details>


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


More information about the lldb-commits mailing list