Skip to content

runtime: improve error handling path for the runtime #31902

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
May 20, 2020

Conversation

compnerd
Copy link
Member

Rather than use fprintf for the error handling path use the platform
specific error handling systems (asl_log, __android_log_printf) if
available. The standard file streams are not available on all platforms
(e.g. Android).

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@compnerd
Copy link
Member Author

CC: @mikeash

@compnerd
Copy link
Member Author

@swift-ci please test

@mikeash
Copy link
Contributor

mikeash commented May 20, 2020

Good idea!

Rather than use `fprintf` for the error handling path use the platform
specific error handling systems (`asl_log`, `__android_log_printf`) if
available.  The standard file streams are not available on all platforms
(e.g. Android).
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

@compnerd compnerd merged commit 49d76c3 into swiftlang:master May 20, 2020
@compnerd compnerd deleted the error-recording branch May 20, 2020 22:10
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.

3 participants