Skip to content

Sema: don't use llvm::StringSwitch for runtime function names #79109

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
Feb 3, 2025

Conversation

eeckstein
Copy link
Contributor

Using llvm::StringSwitch with this many cases causes clang to crash due to a stack overflow.

Works around rdar://143944155

Using `llvm::StringSwitch` with this many cases causes clang to crash due to a stack overflow.
Works around rdar://143944155
@eeckstein
Copy link
Contributor Author

@swift-ci smoke test

@eeckstein eeckstein enabled auto-merge February 3, 2025 10:20
@eeckstein eeckstein merged commit 4306b57 into swiftlang:main Feb 3, 2025
3 checks passed
@eeckstein eeckstein deleted the workaround-clang-crash branch February 3, 2025 15:49
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