Skip to content

[LLDB] Fix handling of bit-fields in a union #2248

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
Dec 15, 2020
Merged

[LLDB] Fix handling of bit-fields in a union #2248

merged 1 commit into from
Dec 15, 2020

Conversation

shafik
Copy link

@shafik shafik commented Dec 15, 2020

When parsing DWARF and laying out bit-fields we don't properly take into account when they are in a union, they will all have a zero offset.

Differential Revision: https://reviews.llvm.org/D91118

(cherry picked from commit bae9aed)

When parsing DWARF and laying out bit-fields we don't properly take into account when they are in a union, they will all have a zero offset.

Differential Revision: https://reviews.llvm.org/D91118

(cherry picked from commit bae9aed)
@shafik shafik requested a review from adrian-prantl December 15, 2020 22:01
@shafik
Copy link
Author

shafik commented Dec 15, 2020

@swift-ci please test macOS

@shafik shafik merged commit 58e662c into swiftlang:apple/stable/20200714 Dec 15, 2020
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