Skip to content
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

Make some exception printers lazy, do not use plain CIL printers in messages #1292

Merged
merged 4 commits into from
Dec 15, 2023

Conversation

sim642
Copy link
Member

@sim642 sim642 commented Dec 14, 2023

Closes #1290.

Now all d_plaintype and d_plainexp should be such that the printing only happens when part of some debug output (e.g. tracing or uncaught exception).

It also changes the "Invalidating expressions" message to use normal expression printing (more meaningful for user) than the internal representation.

@sim642 sim642 added bug usability performance Analysis time, memory usage labels Dec 14, 2023
@sim642 sim642 added this to the v2.4.0 milestone Dec 14, 2023
Copy link
Member

@michael-schwarz michael-schwarz left a comment

Choose a reason for hiding this comment

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

LGTM! Did you check that issue #1290 is fixed now? And I guess the cram tests need to be promoted now.

@sim642
Copy link
Member Author

sim642 commented Dec 15, 2023

Did you check that issue #1290 is fixed now? And I guess the cram tests need to be promoted now.

The evals count didn't get stuck like that, so seems like it.
Cram tests are now also promoted.

@sim642 sim642 merged commit b0299eb into master Dec 15, 2023
17 checks passed
@sim642 sim642 deleted the plain-cil-printer branch December 15, 2023 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug performance Analysis time, memory usage usability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression from goblint/cil#134 causes infinite loops in d_plainexp and d_plaintyp
2 participants