Skip to content

[Cherry-pick into stable/20240723] Implement preliminary support for deserializing cc1 flags in Swift modules. #9093

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

Conversation

adrian-prantl
Copy link

commit 7c0ac3b622fa640648a1e55176a738282a64569c
Author: Adrian Prantl <[email protected]>
Date:   Fri Aug 9 17:59:09 2024 -0700

    Implement preliminary support for deserializing cc1 flags in Swift modules.
    
    There is no functional change on all other code paths.  Support for
    cc1 flags isn't complete.  Since cc1 flags are not stable it's not
    feasible to keep a list of all multi-arg flags, for example. It also
    makes it difficult to correctly identify where working directories and
    path remappings should applied. For all these reasons, using cc1 flags
    for anything but a local build with explicit modules and precise
    compiler invocations isn't supported yet.
    
    rdar://133249595

…dules.

There is no functional change on all other code paths.  Support for
cc1 flags isn't complete.  Since cc1 flags are not stable it's not
feasible to keep a list of all multi-arg flags, for example. It also
makes it difficult to correctly identify where working directories and
path remappings should applied. For all these reasons, using cc1 flags
for anything but a local build with explicit modules and precise
compiler invocations isn't supported yet.

rdar://133249595
(cherry picked from commit 7c0ac3b)
@adrian-prantl adrian-prantl merged commit 3d2ef04 into swiftlang:stable/20240723 Aug 12, 2024
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