Skip to content

Commit

Permalink
PR feedback. Use trace_pc variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
lihasgupta committed Sep 20, 2023
1 parent 696999f commit 1908cbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/drcachesim/tools/invariant_checker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,8 +532,8 @@ invariant_checker_t::parallel_shard_memref(void *shard_data, const memref_t &mem
instr_noalloc_init(drcontext_, &noalloc);
instr_t *noalloc_instr = instr_from_noalloc(&noalloc);
app_pc next_pc = decode_from_copy(
drcontext_, const_cast<app_pc>(memref.instr.encoding),
reinterpret_cast<app_pc>(memref.instr.addr), noalloc_instr);
drcontext_, const_cast<app_pc>(memref.instr.encoding), trace_pc,
noalloc_instr);
if (next_pc == nullptr) {
noalloc_instr = nullptr;
}
Expand Down

0 comments on commit 1908cbe

Please sign in to comment.