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 the possibility to dump a gcno and an optional gcda to json #967

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

calixteman
Copy link
Collaborator

A gcno file contains some interesting information about the structure of the functions making the source file.
So this patch aims to provide a json dump of a gcno in order to make it consumable by other tools.

A gcno file contains some interesting information about the structure
of the functions making the source file.
So this patch aims to provide a json dump of a gcno in order to make it
consumable by other tools.
@calixteman calixteman linked an issue Feb 25, 2023 that may be closed by this pull request
@@ -318,6 +324,18 @@ fn main() {
);
}

if let Some(gcno) = opt.gcno {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we make this option conflict with others, given that we return early when it is set?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

How do you want to do that ?

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.

Output format to summarize gcno information
2 participants