Skip to content

kept consistency between parse options of cbmc and goto-instrument tools for link_to_library call #703

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
merged 1 commit into from
Mar 28, 2017

Conversation

lucasccordeiro
Copy link
Contributor

Display the architecture information if the user intends to add the CPROVER library for code instrumentation.

status() << "Adding CPROVER library" << eom;
// add the library
status() << "Adding CPROVER library ("
<< config.ansi_c.arch << ")" << eom;
Copy link
Collaborator

Choose a reason for hiding this comment

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

As there are even more users of link_to_library: the status message should really just become part of the link_to_library implementation rather than replicating the code. Then the status() output should be removed at each callee.

@lucasccordeiro lucasccordeiro force-pushed the cprover-library-message branch from c837c87 to b14e4fe Compare March 27, 2017 14:23
@lucasccordeiro lucasccordeiro changed the title kept consistency between parse options of cbmc and goto-instrument tools kept consistency between parse options of cbmc and goto-instrument tools for link_to_library call Mar 27, 2017
@lucasccordeiro lucasccordeiro force-pushed the cprover-library-message branch 2 times, most recently from 482fff8 to 75ea506 Compare March 27, 2017 14:39
Display the architecture information if the user intends to add the CPROVER
library for code instrumentation. As a result, the status message is now part
of the link_to_library implementation to avoid redundant code for the respective
library call.
@lucasccordeiro lucasccordeiro force-pushed the cprover-library-message branch from 75ea506 to ad384f1 Compare March 27, 2017 14:43
Copy link
Collaborator

@tautschnig tautschnig left a comment

Choose a reason for hiding this comment

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

Thank you for cleaning this up!

@kroening kroening merged commit b1d0666 into diffblue:master Mar 28, 2017
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.

3 participants