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

i#6662 public traces: add signal and uncompleted instr invariants #7154

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

edeiana
Copy link
Contributor

@edeiana edeiana commented Dec 18, 2024

Public traces should never have TRACE_MARKER_TYPE_SIGNAL_NUMBER markers.
Temporarily, we also disallow TRACE_MARKER_TYPE_UNCOMPLETED_INSTRUCTION
markers until we can handle their partial encoding. Eventually we want to preserve them
(xref: #7155).
We add two invariants in invariant_checker to detect the presence of these
markers in REGDEPS traces and raise an invariant error if necessary.

Updated unit tests and end-to-end tests.

Issue #6662 #7155

Public traces should not have TRACE_MARKER_TYPE_SIGNAL_NUMBER and
TRACE_MARKER_TYPE_UNCOMPLETED_INSTRUCTION markers.
We add two invariants in invariant_checker to detect the presence
of these markers in REGDEPS traces and raise an invariant error
if necessary.

Updated unit tests and end-to-end tests.

Issue #6662
suite/tests/CMakeLists.txt Outdated Show resolved Hide resolved
suite/tests/CMakeLists.txt Outdated Show resolved Hide resolved
suite/tests/CMakeLists.txt Outdated Show resolved Hide resolved
@edeiana edeiana merged commit 323654b into master Dec 18, 2024
17 checks passed
@edeiana edeiana deleted the i6662-regdeps-invariants-signal-uncompleted branch December 18, 2024 18:35
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.

2 participants