riscv64: Make odrefresh recognize RISC-V target instead of aborting.
Bug: 271573990
Test: make sure that odrefresh does not crash on cuttlefish boot
$ lunch aosp_cf_riscv64_phone-userdebug && m
$ launch_cvd --gpu_mode=drm_virgl
# grep logcat for odrefresh, observe no crash dump
Change-Id: Ifaf3b5e407927187ce5ed3bc5033598bd08e7d94
diff --git a/odrefresh/odr_config.h b/odrefresh/odr_config.h
index aa91875..6f4d940 100644
--- a/odrefresh/odr_config.h
+++ b/odrefresh/odr_config.h
@@ -276,6 +276,7 @@
case art::InstructionSet::kX86_64:
return std::make_pair(art::InstructionSet::kX86, art::InstructionSet::kX86_64);
case art::InstructionSet::kRiscv64:
+ return std::make_pair(art::InstructionSet::kNone, art::InstructionSet::kRiscv64);
case art::InstructionSet::kThumb2:
case art::InstructionSet::kNone:
LOG(FATAL) << "Invalid instruction set " << isa_;