Skip to content

Implement precise compiler invocations for SwiftASTContext #7758

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

adrian-prantl
Copy link

To deal with the growing number of incompatible Swift language flags,
LLDB's expression evaluator can now precisely match the compiler flags
from the current breakpoint instead of attempting to build a single
compiler invocation for the entire project.

This is now possible for the first time thanks to dwim-print and the
generic expression evaluator. The feature can be controlled via
a new "symbols.swift-precise-compiler-invocation" setting.

rdar://115188886

@adrian-prantl
Copy link
Author

See also swiftlang/swift#69679

@adrian-prantl adrian-prantl marked this pull request as ready for review November 14, 2023 16:56
@adrian-prantl
Copy link
Author

test with swiftlang/swift#69679
@swift-ci test

@adrian-prantl
Copy link
Author

test with swiftlang/swift#69679
@swift-ci test

@adrian-prantl
Copy link
Author

@kastiglione @augusto2112 This now ready for review!

@adrian-prantl
Copy link
Author

@swift-ci test windows

To deal with the growing number of incompatible Swift language flags,
LLDB's expression evaluator can now precisely match the compiler flags
from the current breakpoint instead of attempting to build a single
compiler invocation for the entire project.

This is now possible for the first time thanks to dwim-print and the
generic expression evaluator. The feature can be controlled via
a new "symbols.swift-precise-compiler-invocation" setting.

rdar://115188886
@adrian-prantl adrian-prantl force-pushed the precise-compiler-invocations branch from 5b8d9b2 to f1a7160 Compare November 14, 2023 18:48
@adrian-prantl
Copy link
Author

test with swiftlang/swift#69679
@swift-ci test

@adrian-prantl
Copy link
Author

test with swiftlang/swift#69679
@swift-ci test windows

2 similar comments
@adrian-prantl
Copy link
Author

test with swiftlang/swift#69679
@swift-ci test windows

@adrian-prantl
Copy link
Author

test with swiftlang/swift#69679
@swift-ci test windows

@adrian-prantl
Copy link
Author

@swift-ci test windows

1 similar comment
@adrian-prantl
Copy link
Author

@swift-ci test windows

@adrian-prantl adrian-prantl merged commit 487436d into swiftlang:stable/20230725 Nov 15, 2023
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