Skip to content

🍒 [lldb][PECOFF] Recognise truncated .lldb{summaries,formatters} section names - #13070

Open
charles-zablit wants to merge 1 commit into
swiftlang:swift/release/6.4.xfrom
charles-zablit:cz/lldb/windows/fix-TestBytecodeSummary-to-swift-release-6.4.x
Open

🍒 [lldb][PECOFF] Recognise truncated .lldb{summaries,formatters} section names#13070
charles-zablit wants to merge 1 commit into
swiftlang:swift/release/6.4.xfrom
charles-zablit:cz/lldb/windows/fix-TestBytecodeSummary-to-swift-release-6.4.x

Conversation

@charles-zablit

Copy link
Copy Markdown

@charles-zablit

Copy link
Copy Markdown
Author

@swift-ci please test

1 similar comment
@charles-zablit

Copy link
Copy Markdown
Author

@swift-ci please test

@charles-zablit

Copy link
Copy Markdown
Author

@swift-ci please test windows

@adrian-prantl
adrian-prantl self-requested a review May 29, 2026 20:04
@adrian-prantl

Copy link
Copy Markdown

@swift-ci test windows

1 similar comment
@charles-zablit

Copy link
Copy Markdown
Author

@swift-ci test windows

@charles-zablit

Copy link
Copy Markdown
Author

@swift-ci please test windows

1 similar comment
@charles-zablit

Copy link
Copy Markdown
Author

@swift-ci please test windows

@charles-zablit

Copy link
Copy Markdown
Author
[2026-06-02T15:10:11.384Z] FAIL: lldb-api :: functionalities/data-formatter/bytecode-summary/TestBytecodeSummary.py (358 of 2621)
[2026-06-02T15:10:11.384Z] ******************** TEST 'lldb-api :: functionalities/data-formatter/bytecode-summary/TestBytecodeSummary.py' FAILED ********************
[2026-06-02T15:10:11.384Z] Script:
[2026-06-02T15:10:11.384Z] --
[2026-06-02T15:10:11.384Z] T:/PythonAMD64-3.10.1/tools/python.exe C:/Users/swift-ci/jenkins/workspace/apple-llvm-project-pull-request-windows/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --inferior-env DYLD_LIBRARY_PATH="T:/5/./lib/swift/macosx:T:/5/./lib/lldb/clang/lib/darwin" --inferior-env LD_LIBRARY_PATH="T:/5/./lib/swift/AMD64" --inferior-env SIMCTL_CHILD_DYLD_LIBRARY_PATH="T:/5/./lib/swift/macosx" --env LLVM_LIBS_DIR=T:/5/./lib --env LLDB_LIBS_DIR=T:/5/./lib --env LLVM_INCLUDE_DIR=T:/5/include --env LLVM_TOOLS_DIR=T:/5/./bin --arch x86_64 --build-dir T:/5/lldb-test-build.noindex --lldb-module-cache-dir T:/5/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir T:/5/lldb-test-build.noindex/module-cache-clang\lldb-api --swift-libs-dir T:/5/./lib/swift --executable T:/5/./bin/lldb.exe --compiler T:/5/./bin/clang.exe --swift-compiler T:/5/bin/swiftc --dsymutil T:/5/./bin/dsymutil.exe --make T:/GnuWin32Make-4.4.1/bin/make.exe --llvm-tools-dir T:/5/./bin --lldb-obj-root T:/5/tools/lldb --lldb-libs-dir T:/5/./lib --skip-category=swiftmaccatalyst --cmake-build-type Release --skip-category=watchpoint --sysroot=T:/Program Files/Swift/Platforms/Windows.platform/Developer/SDKs/Windows.sdk --env LLDB_LAUNCH_FLAG_USE_PIPES=1 C:\Users\swift-ci\jenkins\workspace\apple-llvm-project-pull-request-windows\llvm-project\lldb\test\API\functionalities\data-formatter\bytecode-summary -p TestBytecodeSummary.py
[2026-06-02T15:10:11.384Z] --
[2026-06-02T15:10:11.384Z] Exit Code: 1
[2026-06-02T15:10:11.384Z] 
[2026-06-02T15:10:11.384Z] Command Output (stdout):
[2026-06-02T15:10:11.384Z] --
[2026-06-02T15:10:11.384Z] lldb version 21.1.6
[2026-06-02T15:10:11.384Z] Swift version 6.4-dev (LLVM 180fde5aa2dce71, Swift 25f628541d88040)
[2026-06-02T15:10:11.384Z] Skipping the following test categories: ['frame-diagnose', 'swiftmaccatalyst', 'watchpoint', 'libc++', 'libstdcxx', 'dwo', 'dsym', 'gmodules', 'debugserver', 'objc', 'fork', 'pexpect']

[2026-06-02T15:10:11.384Z] 
[2026-06-02T15:10:11.384Z] --
[2026-06-02T15:10:11.384Z] Command Output (stderr):
[2026-06-02T15:10:11.384Z] --
[2026-06-02T15:10:11.384Z] UNSUPPORTED: LLDB (T:\5\bin\clang.exe-x86_64) :: test_dsym (TestBytecodeSummary.TestCase) (test case does not fall in any category of interest for this run) 

[2026-06-02T15:10:11.384Z] FAIL: LLDB (T:\5\bin\clang.exe-x86_64) :: test_dwarf (TestBytecodeSummary.TestCase)

[2026-06-02T15:10:11.384Z] UNSUPPORTED: LLDB (T:\5\bin\clang.exe-x86_64) :: test_dwo (TestBytecodeSummary.TestCase) (test case does not fall in any category of interest for this run) 

[2026-06-02T15:10:11.384Z] ======================================================================

[2026-06-02T15:10:11.384Z] FAIL: test_dwarf (TestBytecodeSummary.TestCase)

[2026-06-02T15:10:11.384Z] ----------------------------------------------------------------------

[2026-06-02T15:10:11.384Z] Traceback (most recent call last):

[2026-06-02T15:10:11.384Z]   File "C:\Users\swift-ci\jenkins\workspace\apple-llvm-project-pull-request-windows\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 2052, in test_method

[2026-06-02T15:10:11.384Z]     return attrvalue(self)

[2026-06-02T15:10:11.384Z]   File "C:\Users\swift-ci\jenkins\workspace\apple-llvm-project-pull-request-windows\llvm-project\lldb\test\API\functionalities\data-formatter\bytecode-summary\TestBytecodeSummary.py", line 15, in test

[2026-06-02T15:10:11.384Z]     self.expect("v x", substrs=["(MyOptional<int>) x = None"])

[2026-06-02T15:10:11.384Z]   File "C:\Users\swift-ci\jenkins\workspace\apple-llvm-project-pull-request-windows\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 2819, in expect

[2026-06-02T15:10:11.384Z]     self.fail(log_msg)

[2026-06-02T15:10:11.384Z] AssertionError: Ran command:

[2026-06-02T15:10:11.384Z] "v x"

[2026-06-02T15:10:11.384Z] 

[2026-06-02T15:10:11.384Z] Got output:

[2026-06-02T15:10:11.384Z] (MyOptional<int>) x = {

[2026-06-02T15:10:11.384Z]   Storage = (value = 0, hasVal = false)

[2026-06-02T15:10:11.384Z] }

[2026-06-02T15:10:11.384Z] 

[2026-06-02T15:10:11.384Z] Expecting sub string: "(MyOptional<int>) x = None" (was not found)

[2026-06-02T15:10:11.384Z] Config=x86_64-T:\5\bin\clang.exe

[2026-06-02T15:10:11.384Z] ----------------------------------------------------------------------

[2026-06-02T15:10:11.384Z] Ran 3 tests in 9.172s

[2026-06-02T15:10:11.384Z] 

[2026-06-02T15:10:11.384Z] FAILED (failures=1, skipped=2)

@charles-zablit

Copy link
Copy Markdown
Author

@swift-ci please test windows

1 similar comment
@charles-zablit

Copy link
Copy Markdown
Author

@swift-ci please test windows

@charles-zablit

Copy link
Copy Markdown
Author

@swift-ci please test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants