Skip to content

[lldb] Change how valobj of indirect Swift value types in C++ are ext… #7582

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

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

augusto2112
Copy link

…racted

Change how value objects of indirect Swift value types in C++ are extracted. By indirect Swift value type I mean a value type (structs, enums) which are stored in the C++ value object behind a pointer. Previously, LLDB would first dereference the pointer and then cast it. Now LLDB will first cast the type from C++ pointer to Swift pointer, and then dereference that pointer.

rdar://115021829
rdar://110430600
(cherry picked from commit 29334a7)

…racted

Change how value objects of indirect Swift value types in C++ are extracted.
By indirect Swift value type I mean a value type (structs, enums) which
are stored in the C++ value object behind a pointer. Previously, LLDB
would first dereference the pointer and then cast it. Now LLDB will
first cast the type from C++ pointer to Swift pointer, and then
dereference that pointer.

rdar://115021829
rdar://110430600
(cherry picked from commit 29334a7)
@augusto2112 augusto2112 merged commit 5bc22bf into swiftlang:next Oct 5, 2023
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