8000 Return a SwiftArrayEmptyBufferHandler if loc points to an EmptyArray Symbol. by rastogishubham · Pull Request #10919 · swiftlang/llvm-project · GitHub
[go: up one dir, main page]

Skip to content

Return a SwiftArrayEmptyBufferHandler if loc points to an EmptyArray Symbol. #10919

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: swift/release/6.2
Choose a base branch
from

Conversation

rastogishubham
Copy link
@rastogishubham rastogishubham commented Jun 27, 2025

Explanation:
If we have a ValueObjectSP who's storage_location points to a S_swiftEmptyArrayStorage symbol, return a SwiftArrayEmptyBufferHandler.
Scope:
This affects lldb evaluating a SwiftEmptyArrayStorage on all platforms
Issues:
N/A
Original PRs:
#10920
Risk:
Limited, it only affects printing the contents of a SwiftEmptyArrayStorage type of array
Testing:
Tested locally with a small swift file test case, and also added a test for it called lldb/test/API/lang/swift/swift_empty_arr/TestSwiftGlobalEmptyArray.py which should inform of any breakages in CI
Reviewers:
@adrian-prantl

…Symbol.

If we have a ValueObjectSP who's storage_location points to a
S_swiftEmptyArrayStorage symbol, return a SwiftArrayEmptyBufferHandler
@rastogishubham rastogishubham requested a review from a team as a code owner June 27, 2025 20:04
@rastogishubham
Copy link
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.

1 participant
0