Skip to content

Conversation

@DavidSpickett
Copy link
Collaborator

@DavidSpickett DavidSpickett commented Jul 17, 2025

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

Test added by #149088.

By not forcing the DWARF debug info format. When left as the default,
the tests pass.
@DavidSpickett DavidSpickett requested review from Michael137 and removed request for JDevlieghere July 17, 2025 14:32
@llvmbot llvmbot added the lldb label Jul 17, 2025
@llvmbot
Copy link
Member

llvmbot commented Jul 17, 2025

@llvm/pr-subscribers-lldb

Author: David Spickett (DavidSpickett)

Changes

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

Test added by #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 --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
 #

@DavidSpickett
Copy link
Collaborator Author

@Michael137 Does this actually need DWARF, or will any debug info format do?

@Michael137
Copy link
Member

nope doesn't need dwarf, thanks!

@DavidSpickett DavidSpickett merged commit 4bf82ae into llvm:main Jul 17, 2025
11 checks passed
@DavidSpickett DavidSpickett deleted the lldb-childcount branch July 17, 2025 15:06
Michael137 added a commit that referenced this pull request Jul 17, 2025
llvm-sync bot pushed a commit to arm/arm-toolchain that referenced this pull request Jul 17, 2025
Michael137 added a commit to swiftlang/llvm-project that referenced this pull request Jul 25, 2025
Fixes test on Windows. Same reason as llvm#149322

(cherry picked from commit b826429)
Michael137 pushed a commit to swiftlang/llvm-project that referenced this pull request Jul 25, 2025
By not forcing the DWARF debug info format. When left as the default,
the tests pass.

Test added by llvm#149088.

(cherry picked from commit 4bf82ae)
augusto2112 pushed a commit to augusto2112/llvm-project that referenced this pull request Aug 15, 2025
Fixes test on Windows. Same reason as llvm#149322

(cherry picked from commit b826429)
augusto2112 pushed a commit to augusto2112/llvm-project that referenced this pull request Aug 15, 2025
By not forcing the DWARF debug info format. When left as the default,
the tests pass.

Test added by llvm#149088.

(cherry picked from commit 4bf82ae)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants