Skip to content

Support file compilation dir #41062

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 original PR is merged to 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.

Resolves SR-5694.

2. Implement the logic: Configure DebugCompilationDir with the path specified by the flag, otherwise with current working directory.
3. Add test case for mac, linux and windows
@pofat pofat force-pushed the support_flag_file_compilation_dir branch from a847cef to bee2312 Compare January 28, 2022 17:09
@pofat pofat marked this pull request as ready for review January 28, 2022 23:07
@pofat pofat requested a review from a team as a code owner January 28, 2022 23:07
@pofat
Copy link
Contributor Author

pofat commented Jan 31, 2022

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

@kastiglione
Copy link
Contributor

I believe the 5.6 branch is only accepting bug fixes at this point.

@adrian-prantl
Copy link
Contributor

I'm going to discuss this with the swift5-branch-maintainers. It's possible that the answer is going to be no, since only bugfixes should be merged into 5.6 at this point.

@adrian-prantl
Copy link
Contributor

@swift-ci nominate

@adrian-prantl
Copy link
Contributor

@swift-ci test

@DougGregor DougGregor merged commit 9839378 into swiftlang:release/5.6 Feb 2, 2022
@pofat
Copy link
Contributor Author

pofat commented Feb 2, 2022

Thank you very much! @adrian-prantl @DougGregor

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.

4 participants