Cherry pick reproducer changes missing in the release#12298
Open
vsapsai wants to merge 8 commits intoswiftlang:stable/21.xfrom
Open
Cherry pick reproducer changes missing in the release#12298vsapsai wants to merge 8 commits intoswiftlang:stable/21.xfrom
vsapsai wants to merge 8 commits intoswiftlang:stable/21.xfrom
Conversation
…script. (llvm#11498) (cherry picked from commit bf9af9f)
) rdar://164612831 (cherry picked from commit 513232f)
…ost-processing. NFC intended. (llvm#11830) (cherry picked from commit 9c984ff)
…r VFS overlays. (llvm#11843) This makes additional VFS overlays usable instead of failing with "file not found" errors. It is achieved by making file references in these extra overlays go through the reproducer VFS overlay as VFS overlays are applied from right to left. I.e., the leftomost CLI argument describes the outermost virtual file system. (cherry picked from commit cff86e5)
…dencies. (llvm#160226) When we add the module map describing the compiled module to the command line, add it to the file dependencies as well. Discovered while working on reproducers where a command line input was missing in the captured files as it wasn't considered a dependency. (cherry picked from commit b39a9db)
…he directory. (llvm#11853) The intention is to keep reproducers relocatable. Without redirection we are trying to write output to "/some/path/existing/only/where/reproducer/generated.o" and failing to do so. Instead we redirect the output to the reproducer cache directory which is a relative path that is guaranteed to exist. .pcm files are the output too but we don't redirect them because they should be written and read from a specific place which is controlled by `LookupOutput` callback. (cherry picked from commit 87d0b80)
…ducer cache directory. (llvm#11945) It allows to achieve the same behavior in a reproducer as in an original compilation regarding .d dependencies. And it will be required to support CAS-based builds. (cherry picked from commit b1b3016)
…s for explicitly-built modules. (llvm#11960) Add API to provide CAS options for reproducer generation and use these options to generate compilation commands. Instead of copying relevant files and providing them through VFS, create a new CAS object storage and copy relevant CAS trees there. rdar://158780270 (cherry picked from commit 8d4bda4)
Author
|
@swift-ci test |
Author
|
@swift-ci test macOS |
Author
|
@swift-ci test Windows |
Author
|
In addition to spurious SSL certificate errors it seems like we are hitting a legitimate test failure on Windows: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.