-
Notifications
You must be signed in to change notification settings - Fork 274
Store "is hidden" attribute of goto functions in the symbol table [blocks: #4167] #4312
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
b456f6e
to
a9cd423
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.
✔️
Passed Diffblue compatibility checks (cbmc commit: a9cd423).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/102911510
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.
Though I note this is yet another candidate for symbolt
having an attributes
member for function attributes that aren't really part of its type signature.
I guess we already have a ton of attributes in |
I just did this. The |
a9cd423
to
2c9196d
Compare
There should only be a single place to hold type information, including attributes, to ensure consistency. Future changes will remove the "type" member of goto_functiont, making the type information stored in the symbol table the single, authoritative source of information. With this commit the information will remain available in both places, but all read accesses only use the information in the symbol table.
2c9196d
to
ebfab8d
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: ebfab8d).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/103025037
Status will be re-evaluated on next push.
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 compatibility was already broken by an earlier merge.
There should only be a single place to hold type information, including
attributes, to ensure consistency. Future changes will remove the "type" member
of goto_functiont, making the type information stored in the symbol table the
single, authoritative source of information.
With this commit the information will remain available in both places, but all
read accesses only use the information in the symbol table.
This is a further, meant-to-be-non-breaking step towards removing
goto_functiont::type
, which #4167 tries to achieve.