[Lldb-commits] [lldb] [lldb][test] Fix TestChildCountTruncation on Windows (PR #149322)

via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 17 07:33:20 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: David Spickett (DavidSpickett)

<details>
<summary>Changes</summary>

By not forcing the DWARF debug info format. When left as the default, the tests pass.

Test added by https://github.com/llvm/llvm-project/pull/149088.

---
Full diff: https://github.com/llvm/llvm-project/pull/149322.diff


1 Files Affected:

- (modified) lldb/test/Shell/Settings/TestChildCountTruncation.test (+1-4) 


``````````diff
diff --git a/lldb/test/Shell/Settings/TestChildCountTruncation.test b/lldb/test/Shell/Settings/TestChildCountTruncation.test
index 2660ccae1aa5b..da6436cb5ca20 100644
--- a/lldb/test/Shell/Settings/TestChildCountTruncation.test
+++ b/lldb/test/Shell/Settings/TestChildCountTruncation.test
@@ -1,11 +1,8 @@
 # Test that we warn the user about truncated output
 # when target.max-children-count wasn't explicitly set.
 
-# link.exe discards the DWARF information needed.
-# UNSUPPORTED: system-windows
-
 # RUN: split-file %s %t
-# RUN: %clang_host -g -gdwarf %t/main.cpp -o %t.out
+# RUN: %clang_host -g %t/main.cpp -o %t.out
 # RUN: %lldb -x -b -s %t/dwim-commands.input %t.out -o exit 2>&1 \
 # RUN:       | FileCheck %s --check-prefix=DWIM
 #

``````````

</details>


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


More information about the lldb-commits mailing list