Skip to content

Cleanup of goto_instrument_parse_optionst::instrument_goto_program #6897

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 4 commits into from
May 31, 2022

Conversation

tautschnig
Copy link
Collaborator

Please review commit-by-commit.

  • Each commit message has a non-empty body, explaining why the change was made.
  • n/a Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • n/a The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • n/a My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • n/a White-space or formatting changes outside the feature-related changed lines are in commits of their own.

There is no need to declare in a parent scope what is only used in a
single branch.
The unwinding done by goto-instrument is configured elsewhere and makes
no use of this option parsing. It used to be used by weak-memory
instrumentation, but this is no longer the case.
Just like CBMC, we need to make sure that library functions called via
inline assembly are resolved.
… and loop skipping

Adding additional code should be the first order of business, and all
transformations can only be applied thereafter to make sure they equally
apply to library code.
@codecov
Copy link

codecov bot commented May 31, 2022

Codecov Report

Merging #6897 (5c98272) into develop (f7a33df) will decrease coverage by 0.00%.
The diff coverage is 73.33%.

@@             Coverage Diff             @@
##           develop    #6897      +/-   ##
===========================================
- Coverage    77.81%   77.81%   -0.01%     
===========================================
  Files         1568     1568              
  Lines       179985   179982       -3     
===========================================
- Hits        140054   140050       -4     
- Misses       39931    39932       +1     
Impacted Files Coverage Δ
.../goto-instrument/goto_instrument_parse_options.cpp 70.90% <73.33%> (-0.23%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8bf3ea6...5c98272. Read the comment docs.

Copy link
Member

@peterschrammel peterschrammel left a comment

Choose a reason for hiding this comment

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

lgtm

@tautschnig tautschnig merged commit f34bf28 into diffblue:develop May 31, 2022
@tautschnig tautschnig deleted the cleanup/add-library-early branch May 31, 2022 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants