-
Notifications
You must be signed in to change notification settings - Fork 284
Set base_name member for __CPROVER_start #6784
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
Set base_name member for __CPROVER_start #6784
Conversation
The (un)reachable functions output uses the base_name in the output, which previously resulted in the surprising behaviour that an empty function name was printed. While falling back to the symbol's name may be possible, there could well be other places that try to use the `base_name`.
07b825d to
f0502d2
Compare
Codecov Report
@@ Coverage Diff @@
## develop #6784 +/- ##
===========================================
+ Coverage 76.90% 76.97% +0.07%
===========================================
Files 1590 1593 +3
Lines 183969 184114 +145
===========================================
+ Hits 141486 141730 +244
+ Misses 42483 42384 -99
Continue to review full report at Codecov.
|
| } | ||
|
|
||
| // add the entry point symbol | ||
| symbolt new_symbol; |
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.
💡 Maybe a proper constructor could help.
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.
The (un)reachable functions output uses the base_name in the output,
which previously resulted in the surprising behaviour that an empty
function name was printed. While falling back to the symbol's name may
be possible, there could well be other places that try to use the
base_name.