Skip to content

[🍒 swift/release/6.1] [lldb] Add missing operations to GetOpcodeDataSize (#120163) #9873

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

Conversation

JDevlieghere
Copy link

The improved error reporting in llvm#120162 revealed that we were missing opcodes in GetOpcodeDataSize. I changed the function to remove the default case and switch over the enum type which will cause the compiler to emit a warning if there are unhandled operations in the future.

rdar://139705570
(cherry picked from commit 4cf1fe2)

The improved error reporting in llvm#120162 revealed that we were missing
opcodes in GetOpcodeDataSize. I changed the function to remove the
default case and switch over the enum type which will cause the compiler
to emit a warning if there are unhandled operations in the future.

rdar://139705570
(cherry picked from commit 4cf1fe2)
@JDevlieghere JDevlieghere requested a review from a team as a code owner January 23, 2025 18:39
@JDevlieghere
Copy link
Author

@swift-ci test

@adrian-prantl adrian-prantl merged commit 3f04759 into swift/release/6.1 Jan 23, 2025
3 checks passed
@adrian-prantl adrian-prantl deleted the cherrypick-swift/release/6.1-4cf1fe240589 branch January 23, 2025 22:33
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