Skip to content

[OSLogOptimization] Prevent the OSLogOptimization pass from crashing in unreachable code. #30338

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

Conversation

ravikandhadai
Copy link
Contributor

Fix a bug in the os log optimization pass that makes it crash when the os log calls are invoked in unreachable code.

rdar://problem/60014600

when the log calls are invoked in unreachable code.

<rdar://problem/60014600>
@ravikandhadai
Copy link
Contributor Author

@swift-ci Please test and merge

@swift-ci swift-ci merged commit 8e39711 into swiftlang:master Mar 11, 2020
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