Skip to content

Commit

Permalink
Fix expected output for x86-32
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav92003 committed Nov 20, 2023
1 parent ab7fd43 commit b29ee77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clients/drcachesim/tests/raw2trace_unit_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2844,6 +2844,10 @@ test_ifiltered(void *drcontext)
// This has an encoding because the previous dynamic instance was actually
// i-filtered.
check_entry(entries, idx, TRACE_TYPE_ENCODING, -1) &&
# ifdef X86_32
// An extra encoding entry is needed.
check_entry(entries, idx, TRACE_TYPE_ENCODING, -1) &&
# endif
// In filtered traces, we have one pc entry for the instr itself (if the
// instruction is not i-filtered out) which has the instr length, and another
// zero-length pc entry before each of the instr's memrefs (if the memref
Expand Down

0 comments on commit b29ee77

Please sign in to comment.