Skip to content

🍒 [clang][deps] Respect Lexer::cutOffLexing() #10432

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

jansvoboda11
Copy link

This is crucial when recovering from fatal loader errors. Without it, the Lexer keeps yielding more tokens and the compiler may access invalid ASTReader state.

rdar://133388373

(cherry picked from commit cde90e6)

This is crucial when recovering from fatal loader errors. Without it,
the `Lexer` keeps yielding more tokens and the compiler may access
invalid `ASTReader` state.

rdar://133388373
(cherry picked from commit cde90e6)
@jansvoboda11 jansvoboda11 requested a review from a team as a code owner April 4, 2025 17:29
@jansvoboda11
Copy link
Author

@swift-ci please test

@jansvoboda11 jansvoboda11 merged commit 20b1136 into stable/20240723 Apr 5, 2025
3 checks passed
@jansvoboda11 jansvoboda11 deleted the jan_svoboda/stable-scanner-cut-off-lexing-crash branch April 5, 2025 02:42
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