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

Odb undo #5491

Merged

Conversation

openroad-robot
Copy link
Contributor

No description provided.

@maliberty maliberty marked this pull request as ready for review August 1, 2024 14:17
@maliberty
Copy link
Member

Intended usage:

  • Bad change: beginEco, mods, endEco, undoEco.
  • Good change: beginEco, mods, endEco.

@maliberty
Copy link
Member

@precisionmoon @QuantamHD FYI

Copy link
Contributor

github-actions bot commented Aug 1, 2024

clang-tidy review says "All clean, LGTM! 👍"

@QuantamHD
Copy link
Collaborator

QuantamHD commented Aug 1, 2024

Nice! Does the critical error crash the program? If we added C++ unit tests around this it would be easier if they were just throws.

@maliberty
Copy link
Member

maliberty commented Aug 1, 2024

Critical calls exit(1) as there is no hope to continue with the db in an inconsistent state. We could have a test mode where it throws instead for unit testing if required.

auto-merge was automatically disabled August 1, 2024 21:40

Head branch was pushed to by a user without write access

Copy link
Contributor

github-actions bot commented Aug 1, 2024

clang-tidy review says "All clean, LGTM! 👍"

@maliberty maliberty merged commit 4495373 into The-OpenROAD-Project:master Aug 1, 2024
10 checks passed
@maliberty maliberty deleted the odb-undo branch August 1, 2024 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants