Skip to content

Don't require a strict revision match in LLDB #61628

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
merged 1 commit into from
Oct 19, 2022

Conversation

adrian-prantl
Copy link
Contributor

@adrian-prantl adrian-prantl commented Oct 18, 2022

For release-management purposes during development, LLDB's embedded Swift compiler's version number can sometimes be off-by-one in the last digit compared to the Swift compiler.

This patch restores the old behavior from before 1718362.

rdar://101299168

@adrian-prantl
Copy link
Contributor Author

@swift-ci test

@adrian-prantl
Copy link
Contributor Author

Note that LLDB implements its own check for the compiler version and it will also warn unless all but the last digit match.

Copy link
Contributor

@xymus xymus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. If the difference is just in a minor version numbers, should we keep part of the check for LLDB, just looser?

For release-management purposes during development, LLDB's embedded Swift
compiler's version number can sometimes be off-by-one in the last digit
compared to the Swift compiler.

This patch restores the old behavior from before 1718362.

rdar://101299168
@adrian-prantl
Copy link
Contributor Author

@swift-ci test and merge

@adrian-prantl
Copy link
Contributor Author

I forgot to update lldb-moduleimport-test.

@adrian-prantl
Copy link
Contributor Author

@swift-ci test and merge

1 similar comment
@adrian-prantl
Copy link
Contributor Author

@swift-ci test and merge

@swift-ci swift-ci merged commit a2ec07c into swiftlang:main Oct 19, 2022
kastiglione added a commit to swiftlang/llvm-project that referenced this pull request Nov 7, 2022
…5545)

Pass `requiresRevisionMatch` argument  to `validateSerializedAST` after it was introduced in Swift: swiftlang/swift#61628
adrian-prantl pushed a commit to swiftlang/llvm-project that referenced this pull request Dec 2, 2022
…5545)

Pass `requiresRevisionMatch` argument  to `validateSerializedAST` after it was introduced in Swift: swiftlang/swift#61628

(cherry picked from commit 1bfddbc)
adrian-prantl pushed a commit to adrian-prantl/llvm-project that referenced this pull request Dec 2, 2022
…wiftlang#5545)

Pass `requiresRevisionMatch` argument  to `validateSerializedAST` after it was introduced in Swift: swiftlang/swift#61628

(cherry picked from commit 1bfddbc)
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.

4 participants