-
Notifications
You must be signed in to change notification settings - Fork 274
remove goto_programt::instructiont::function member [blocks: #3113] #3126
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
Conversation
kroening
commented
Oct 9, 2018
- Each commit message has a non-empty body, explaining why the change was made.
- My contribution is formatted in line with CODING_STANDARD.md.
- Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
- 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).
- My commit message includes data points confirming performance improvements (if claimed).
- My PR is restricted to a single feature or bugfix.
- White-space or formatting changes outside the feature-related changed lines are in commits of their own.
0c079da
to
d0d8271
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we can actually do this then that's great, but it will require some more work.
/// | ||
/// \param p: the goto program | ||
/// \return id of the function that contains the goto program | ||
static const irep_idt get_function_id( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function is actually used and thus any of its call-sites need to be modified.
@chrisr-diffblue : something gives me a feeling this may break a branch you maintain for a customer. You might want to check. |
@tautschnig There will be a few places where the name of the function currently looked at will have to be passed down the call-tree; but I don't expect that many. |
9c87e96
to
d1eae28
Compare
d1eae28
to
8812e2d
Compare
d0c7f41
to
dfae80c
Compare
cc078b5
to
7036a99
Compare
7036a99
to
16c6c32
Compare
cb12035
to
45611eb
Compare
It seems this finally passes on CBMC and has all the approvals, but as expected it fails with TG. @allredj @peterschrammel @thk123 Could you please figure out whether that work can be scheduled? I have no idea how much effort that is... |
Creating a bump for this now. |
@kroening Could I get this rebased to create the bump. |
0e9e01e
to
787409d
Compare
@thk123 rebased. |
@tautschnig And now failing CI here 😞 |
787409d
to
5c5f9fe
Compare
Err, sure ... @thk123 should be fixed now. |
TG bump created - will let you know when it passes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫
This PR failed Diffblue compatibility checks (cbmc commit: 5c5f9fe).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/99459448
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
The incompatibility may have been introduced by an earlier PR. In that case merging this
PR should be avoided unless it fixes the current incompatibility.
TG bump is passing on this 👍 |
This member is being removed, there is nothing to validate about it.
Thanks @thk123, I will rebase and then merge. |
We no longer need to change an instruction's function member, but should update the source location instead.
5c5f9fe
to
8ddd9ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫
This PR failed Diffblue compatibility checks (cbmc commit: 8ddd9ba).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/99659348
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
The incompatibility may have been introduced by an earlier PR. In that case merging this
PR should be avoided unless it fixes the current incompatibility.