Skip to content

[lldb] Add a setting to allow Swift AST context instantiations #8460

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

For testing purposes, it's useful to have a setting to disable the instantiation of SwiftASTContext, to ensure that
TypeSystemSwiftTypeRef, which by default falls back to it on failure, is working independently.

This setting might also be useful for end users, as when debugging a program that was built with a different compiler version versus what is embedded in LLDB instantiation of Swift AST contexts would be moot.

@augusto2112
Copy link
Author

@swift-ci test

@augusto2112 augusto2112 force-pushed the enable-ast-con-setting branch from 072d41e to ba9c523 Compare March 22, 2024 15:55
@augusto2112
Copy link
Author

@swift-ci test

@augusto2112
Copy link
Author

@swift-ci test windows

@augusto2112 augusto2112 force-pushed the enable-ast-con-setting branch from ba9c523 to 9c03ff0 Compare March 22, 2024 17:00
@augusto2112
Copy link
Author

@swift-ci test

@augusto2112
Copy link
Author

@swift-ci test windows

For testing purposes, it's useful to have a setting to disable the
instantiation of SwiftASTContext, to ensure that
TypeSystemSwiftTypeRef, which by default falls back to it on failure, is
working independently.

This setting might also be useful for end users, as when debugging
a program that was built with a different compiler version versus what
is embedded in LLDB instantiation of Swift AST contexts would be moot.
@augusto2112 augusto2112 force-pushed the enable-ast-con-setting branch from 9c03ff0 to bf30120 Compare March 22, 2024 19:33
@augusto2112
Copy link
Author

@swift-ci test

@augusto2112
Copy link
Author

@swift-ci test windows

@augusto2112
Copy link
Author

@swift-ci test macOS

@augusto2112
Copy link
Author

@swift-ci test Windows

@augusto2112
Copy link
Author

Closed in favor of #8464

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