Skip to content

Commit

Permalink
Fix 32-bit test: just one encoding entry for RET
Browse files Browse the repository at this point in the history
  • Loading branch information
derekbruening committed Sep 20, 2023
1 parent f99930f commit 300f6e9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions clients/drcachesim/tests/raw2trace_unit_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -905,10 +905,6 @@ test_chunk_encodings(void *drcontext)
check_entry(entries, idx, TRACE_TYPE_MARKER, TRACE_MARKER_TYPE_CPU_ID) &&
// There should be just one encoding, before the branch target (i#6303).
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
check_entry(entries, idx, TRACE_TYPE_MARKER, TRACE_MARKER_TYPE_BRANCH_TARGET) &&
check_entry(entries, idx, TRACE_TYPE_INSTR_RETURN, -1, offs_ret) &&
check_entry(entries, idx, TRACE_TYPE_ENCODING, -1) &&
Expand Down

0 comments on commit 300f6e9

Please sign in to comment.