-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[LLDB] Fix conditional to also support AccessLevel::Open #80691
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
Conversation
@swift-ci test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logic here is getting complex. Do you mind splitting off the entire computation of shouldUseDispatchThunk into a new top-level function?
This fixes crashes in LLDB expression evaluation when calling virtual Open functions. rdar://147797657
Added a 3rd NFC commit on top. |
@swift-ci test |
@swift-ci test |
See swiftlang/swift#80691 (cherry picked from commit 7001b41)
See swiftlang/swift#80691 (cherry picked from commit 6f8e332)
See swiftlang/swift#80691 (cherry picked from commit 0c2f649)
[LLDB] Fix conditional to also support AccessLevel::Open
This fixes crashes in LLDB expression evaluation when calling virtual
Open functions.
rdar://147797657
and
Improve legibility of conditional
Commit bceb817 made the following edits:
This commit refactors the conditional that make it more obvious that
only the LLDB code path is meant to be affected.