Skip to content

Add a check for null CompUnit in GetTypeFromCU.#13233

Open
jimingham wants to merge 1 commit into
swiftlang:swift/release/6.4.xfrom
jimingham:dil-check-null-cu
Open

Add a check for null CompUnit in GetTypeFromCU.#13233
jimingham wants to merge 1 commit into
swiftlang:swift/release/6.4.xfrom
jimingham:dil-check-null-cu

Conversation

@jimingham

Copy link
Copy Markdown

This check is present on the llvm.org side, but isn't suitable for a cherry pick because there's a significant refactor between the code on this branch and the code with the fix.

I'm also not adding a test because this is just patching this branch, the proper fix is on lldb.org:main.

This check is present on the llvm.org side, but isn't suitable
for a cherry pick because there's a significant refactor between
the code on this branch and the code with the fix.
@jimingham jimingham requested a review from a team as a code owner June 18, 2026 18:30
@jimingham

Copy link
Copy Markdown
Author

This causes a crash if you stop on a frame with no debug info and do v foo + 1...

@jimingham jimingham requested a review from JDevlieghere June 18, 2026 18:31
@JDevlieghere

Copy link
Copy Markdown

@swift-ci test

@jimingham

Copy link
Copy Markdown
Author

The windows test is going to keep failing till:

swiftlang/swift#90041

is merged.

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