Skip to content

Conversation

@compnerd
Copy link
Member

@compnerd compnerd commented Jul 9, 2025

-Xcc flags are internal to the C compiler; we have -vfsoverlay now which directly passes the VFS overlay. Because the VFS overlay flags are automatically passed along to the clang scanner, we need to pass along -vfsoverlay to the Swift frontend to ensure that any VFS overlays are honoured. Most likely this was a workaround for -vfsoverlay not getting propagated originally and when the restriction was lifted the exercised codepath was not heavily tested.

`-Xcc` flags are internal to the C compiler; we have `-vfsoverlay` now
which directly passes the VFS overlay. Because the VFS overlay flags are
automatically passed along to the clang scanner, we need to pass along
`-vfsoverlay` to the Swift frontend to ensure that any VFS overlays are
honoured. Most likely this was a workaround for `-vfsoverlay` not
getting propagated originally and when the restriction was lifted the
exercised codepath was not heavily tested.
@compnerd
Copy link
Member Author

compnerd commented Jul 9, 2025

@swift-ci please smoke test

Copy link
Contributor

@cachemeifyoucan cachemeifyoucan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing. LGTM

@compnerd compnerd merged commit c3fdab2 into swiftlang:main Jul 10, 2025
3 checks passed
@compnerd compnerd deleted the department-of-redundancy-department branch July 10, 2025 03:44
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