Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav92003 committed Apr 10, 2024
1 parent 02e1b8b commit ac8f6f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clients/drcachesim/tools/invariant_checker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,9 @@ invariant_checker_t::parallel_shard_memref(void *shard_data, const memref_t &mem
|| shard->prev_instr_.decoding.is_xrstor
// xsaveopt also reads some fields from the xsave
// header (https://www.felixcloutier.com/x86/xsaveopt).
// XXX: Same as above, can we store any metadata in the
// trace to allow us to adapt the decoder to expect
// this?
|| shard->prev_instr_.decoding.opcode == OP_xsaveopt64 ||
shard->prev_instr_.decoding.opcode == OP_xsaveopt32))),
"Too many read records");
Expand Down

0 comments on commit ac8f6f3

Please sign in to comment.