Skip to content

Conversation

@hjyamauchi
Copy link

This is to avoid assertion failures like the following when RedirectingFileSystem's are created and used outside createVFSFromOverlayFiles.

Assertion failed: VFSUsage.size() == getHeaderSearchOpts().VFSOverlayFiles.size() && "A different number of RedirectingFileSystem's were present than " "-ivfsoverlay options passed to Clang!", file S:\SourceCache\llvm-project\clang\lib\Lex\HeaderSearch.cpp, line 162

Cherrypick commit llvm#128267

This is to avoid assertion failures like the following when
RedirectingFileSystem's are created and used outside
createVFSFromOverlayFiles.

```
Assertion failed: VFSUsage.size() == getHeaderSearchOpts().VFSOverlayFiles.size() && "A different number of RedirectingFileSystem's were present than " "-ivfsoverlay options passed to Clang!", file S:\SourceCache\llvm-project\clang\lib\Lex\HeaderSearch.cpp, line 162
```

Cherrypick commit llvm#128267
@hjyamauchi hjyamauchi requested a review from a team as a code owner February 25, 2025 18:15
@hjyamauchi
Copy link
Author

@swift-ci please test

@hjyamauchi hjyamauchi requested a review from compnerd February 25, 2025 18:16
@hjyamauchi hjyamauchi merged commit b6d0533 into swiftlang:stable/20240723 Feb 27, 2025
3 checks passed
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