Skip to content

[stdlib/private][os log] Minor changes to the new os log overlay #29630

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 4, 2020

Conversation

ravikandhadai
Copy link
Contributor

Annotate tiny helper functions in the new os log overlay @_transparent so that they will be inlined in their callers even annotated as @_optimize(none).

Make the OSLogPrototypeCompileTest.swift test suite check only the output of the OSLogOptimization pass instead of the output of the Onone pipeline. This will make the tests more resilient to adding mandatory optimizations later in the pass pipeline. Also, remove a duplicate test from the OSLogPrototypeExecTest suite.

Also, add support for interpolating UInts (this will be superseded by this PR once it lands #29518)

@ravikandhadai
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

swift-ci commented Feb 4, 2020

Build failed
Swift Test OS X Platform
Git Sha - c74168e6f3036054b7f600ac50173767b9603c48

@ravikandhadai
Copy link
Contributor Author

@swift-ci Please test

1 similar comment
@ravikandhadai
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

swift-ci commented Feb 4, 2020

Build failed
Swift Test OS X Platform
Git Sha - 6d0e8ec301552f1addc7bfa61b1e0f264c910172

os log overlay @_transparent so that they will be inlined in their
callers even annotated as @_optimize(none).

Make the OSLogPrototypeCompileTest.swift test suite check only the
output of the OSLogOptimization pass instead of the output of the
Onone pipeline. This will make the tes more resilient to adding
mandatory optimizations later in the pass pipeline. Also, remove
a duplicate test from the OSLogPrototypeExecTest suite.
@ravikandhadai
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

swift-ci commented Feb 4, 2020

Build failed
Swift Test OS X Platform
Git Sha - 6d0e8ec301552f1addc7bfa61b1e0f264c910172

@ravikandhadai
Copy link
Contributor Author

@swift-ci Please test

@ravikandhadai ravikandhadai merged commit 353f396 into swiftlang:master Feb 4, 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