Skip to content

Commit

Permalink
Add TODO for some future items
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav92003 committed Dec 17, 2024
1 parent 3f9cc4e commit 44971f6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clients/drcachesim/tests/decode_cache_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ test_main(int argc, const char *argv[])
exit(1);
}
#ifndef WINDOWS
// TODO i#5960: Enable these tests after the Windows issue is
// TODO i#5960: Enable these tests after the test-only Windows issue is
// fixed.
err = check_decode_caching(drcontext, /*persist_instrs=*/false,
/*use_module_mapper=*/true);
Expand Down
2 changes: 1 addition & 1 deletion clients/drcachesim/tests/opcode_mix_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ test_main(int argc, const char *argv[])
exit(1);
}
#ifndef WINDOWS
// TODO i#5960: Enable these tests after the Windows issue is
// TODO i#5960: Enable these tests after the test-only Windows issue is
// fixed.
err = check_opcode_mix(drcontext, /*use_module_mapper=*/true);
if (err != "") {
Expand Down
4 changes: 4 additions & 0 deletions clients/drcachesim/tools/common/decode_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,10 @@ template <class DecodeInfo> class decode_cache_t : public decode_cache_base_t {
init(offline_file_type_t filetype, const std::string &module_file_path = "",
const std::string &alt_module_dir = "")
{
// TODO i#7113: Should we perhaps also do dr_set_isa_mode for DR_ISA_REGDEPS
// that cannot be figured out automatically using the build but needs the
// trace filetype? Or does that belong in the analyzer framework which is more
// central than this decode_cache_t.
init_done_ = true;
if (!TESTANY(OFFLINE_FILE_TYPE_ENCODINGS, filetype) && module_file_path.empty()) {
return "Trace does not have embedded encodings, and no module_file_path "
Expand Down

0 comments on commit 44971f6

Please sign in to comment.