Skip to content

Commit

Permalink
PR feedback. Updated comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
lihasgupta committed Sep 22, 2023
1 parent 3c7e17f commit 617aa7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clients/drcachesim/tools/invariant_checker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,9 @@ invariant_checker_t::parallel_shard_memref(void *shard_data, const memref_t &mem
"Branch target not immediately after branch");
}
// Invariant: non-explicit control flow (i.e., kernel-mediated) is indicated
// by markers.
// by markers. We are using prev_instr_ here instead of last_instr_in_cur_context_
// because after a signal the interruption and resumption checks are done
// elsewhere.
const std::string non_explicit_flow_violation_msg = check_for_pc_discontinuity(
shard, shard->prev_instr_, cur_instr_info, expect_encoding,
/*at_kernel_event=*/false);
Expand Down

0 comments on commit 617aa7f

Please sign in to comment.