Skip to content

Frontend: add an option -bad-file-descriptor-retry-count #35414

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
Jan 15, 2021

Conversation

nkcsgexi
Copy link
Contributor

@nkcsgexi nkcsgexi commented Jan 13, 2021

This option allows the compiler to retry opening an input file if the previous opening returns an error of bad file descriptor. Swift-driver will set this argument in certain circumstances to walk-around such error.

rdar://73157185

@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

@nkcsgexi nkcsgexi force-pushed the volatile-open-input branch from 7234f75 to 0d08175 Compare January 14, 2021 23:32
@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

@nkcsgexi nkcsgexi force-pushed the volatile-open-input branch 5 times, most recently from e0a9207 to acdb8ca Compare January 15, 2021 17:28
@nkcsgexi nkcsgexi changed the title Frontend: open file list file and source files as volatile Frontend: add an option -bad-file-descriptor-retry-count Jan 15, 2021
@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

This option allows the compiler to retry opening an input file if the previous
opening returns an error of bad file descriptor. Swift-driver will set this
argument in certain circumstances to walk-around such error.

rdar://73157185
@nkcsgexi nkcsgexi force-pushed the volatile-open-input branch from acdb8ca to ae9d873 Compare January 15, 2021 18:28
@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

@nkcsgexi nkcsgexi merged commit fcbc2b4 into swiftlang:main Jan 15, 2021
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.

1 participant