This is an archive of the discontinued LLVM Phabricator instance.

[Chkpnt] Adds IR Checker that compares the saved and restored states.
Needs ReviewPublic

Authored by vporpo on Mar 30 2023, 7:57 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This patch adds a simple IR checker that compares the IR dump of the tracked
components when tracking initially took place and after restore() was called.
This should run only in debug builds, and should help us catch errors in the
checkpointing infrastructure.

Diff Detail

Event Timeline

vporpo created this revision.Mar 30 2023, 7:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2023, 7:57 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
vporpo requested review of this revision.Mar 30 2023, 7:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2023, 7:57 PM