Skip to content

[5.7] Build plugin executables with debug symbols #5665

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

neonichu
Copy link
Contributor

This seems like the better default until we might add a dedicated debugging feature for plugins.

This is the same as #5659 for 5.7, but since we are seeing a test issue there that seems to be limited to main potentially and that is outside of our control, I'm going to try to land this in 5.7 first given the timeline.

@neonichu neonichu added the 5.7 label Jul 14, 2022
@neonichu neonichu requested a review from abertelrud as a code owner July 14, 2022 23:24
@neonichu neonichu self-assigned this Jul 14, 2022
@neonichu neonichu requested review from tomerd and elsh as code owners July 14, 2022 23:24
@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

@neonichu
Copy link
Contributor Author

Hm, looks like the self-hosted job also reproduces the issue, so it affects the 5.6 compiler as well?

@neonichu neonichu force-pushed the build-plugin-executables-with-debug-symbols-5.7 branch from eae23ec to 4a39134 Compare July 14, 2022 23:39
@neonichu
Copy link
Contributor Author

Going to try to disable the part of the test that fails when passing -g.

@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

@neonichu
Copy link
Contributor Author

neonichu commented Jul 14, 2022

I guess the issue is that this would be swallowing legitimate diagnostics, so we have a tradeoff between that and passing -g which Anders already said here.

This seems like the better default until we might add a dedicated debugging feature for plugins.
@neonichu neonichu force-pushed the build-plugin-executables-with-debug-symbols-5.7 branch from 4a39134 to 726d3cb Compare July 15, 2022 00:00
@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

@neonichu neonichu merged commit 5e22621 into release/5.7 Jul 18, 2022
@neonichu neonichu deleted the build-plugin-executables-with-debug-symbols-5.7 branch July 18, 2022 23:46
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