Skip to content

[lldb] TSSTypeRef::GetBitSize fallback to SASTContext if runtime fails #4914

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

augusto2112
Copy link

The usual strategy of TypeSystemSwiftTypeRef functions is to fallback to
SwiftASTContext in case it fails, make GetBitSize follow that pattern.
Also, always log that failure even in the case of types defined in the
expression, as we've been recovering information for those types for a
while now.

rdar://96166383

The usual strategy of TypeSystemSwiftTypeRef functions is to fallback to
SwiftASTContext in case it fails, make GetBitSize follow that pattern.
Also, always log that failure even in the case of types defined in the
expression, as we've been recovering information for those types for a
while now.

rdar://96166383
@augusto2112
Copy link
Author

@swift-ci test

@augusto2112 augusto2112 merged commit 2327306 into swiftlang:stable/20211026 Jun 30, 2022
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