Skip to content

Support -file-compilation-dir #1002

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

Conversation

pofat
Copy link
Contributor

@pofat pofat commented Jan 28, 2022

The origin PR is merge into main.
In short, this flag gives us identical debug info paths regardless of what location we compiled the file from.
It's a small but useful feature, and hope it can happen on Swift 5.6.
The PR to merge into Swift 5.6 in Swift is here

Resolves SR-5694.

2. Forward the flag and its associated variable to frontend
3. Add a test case to validate that the flag is forwarded to frontend correctly
4. Update Options.swift with makeOptions
@pofat
Copy link
Contributor Author

pofat commented Jan 31, 2022

hello @adrian-prantl @artemcm , I hope this can be merged into Swift 5.6 branch. What's the process to request approval? Thank you.

@adrian-prantl adrian-prantl self-requested a review January 31, 2022 18:13
Copy link
Contributor

@adrian-prantl adrian-prantl left a comment

Choose a reason for hiding this comment

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

There's not risk of breaking anything here, since this adds a new option.

@adrian-prantl
Copy link
Contributor

@swift-ci test

@pofat
Copy link
Contributor Author

pofat commented Feb 1, 2022

@adrian-prantl tests all passed, would you merge this PR for me?

@adrian-prantl adrian-prantl merged commit 9982f32 into swiftlang:release/5.6 Feb 2, 2022
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