Skip to content
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

Add a spirv-builder option to include all debug info #742

Merged
merged 3 commits into from
Sep 1, 2021

Conversation

khyperia
Copy link
Contributor

This is in addition to the cargo debug information option doing the same thing. Fixes #736

@khyperia khyperia requested a review from eddyb as a code owner August 31, 2021 14:02
Copy link
Contributor

@eddyb eddyb left a comment

Choose a reason for hiding this comment

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

Only a nitpick, feel free to merge as-is.

Comment on lines 405 to 411
if builder.spirv_metadata != SpirvMetadata::None {
if builder.spirv_metadata == SpirvMetadata::Full {
llvm_args.push("--spirv-metadata=full");
} else {
llvm_args.push("--spirv-metadata=name-variables");
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

This could probably be a match.

@khyperia khyperia enabled auto-merge (squash) September 1, 2021 05:26
@khyperia khyperia merged commit 032286e into main Sep 1, 2021
@khyperia khyperia deleted the another-debug-option branch September 1, 2021 06:05
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.

Add second option for adding OpNames to whole module
2 participants