summaryrefslogtreecommitdiff
path: root/simpleperf/perf_regs_test.cpp
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-03 16:04:00 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-03 16:04:00 +0000
commit37d020f5143ef14aedc58f37785389f2e351096b (patch)
tree90bb3813b2e964d5e7e5c3cb42cc08f6e267240e /simpleperf/perf_regs_test.cpp
parent962b1c9357df8d1e03c7cff3f56805f5b19ce547 (diff)
parentd6f259b4285f74ed240a6392a7c2b2812ed1320f (diff)
downloadextras-android14-mainline-adbd-release.tar.gz
Snap for 10428683 from d6f259b4285f74ed240a6392a7c2b2812ed1320f to mainline-adbd-releaseaml_adb_340912530aml_adb_340912350aml_adb_340912200aml_adb_340912000android14-mainline-adbd-release
Change-Id: I85f6e896234d04412e3905041ad1db856dfb5456
Diffstat (limited to 'simpleperf/perf_regs_test.cpp')
-rw-r--r--simpleperf/perf_regs_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/simpleperf/perf_regs_test.cpp b/simpleperf/perf_regs_test.cpp
index fc75cca3..0af97478 100644
--- a/simpleperf/perf_regs_test.cpp
+++ b/simpleperf/perf_regs_test.cpp
@@ -21,9 +21,10 @@
using namespace simpleperf;
TEST(RegSet, arch) {
- ArchType arch_pairs[2][2] = {
+ ArchType arch_pairs[3][2] = {
{ARCH_X86_32, ARCH_X86_64},
{ARCH_ARM, ARCH_ARM64},
+ {ARCH_RISCV64, ARCH_RISCV64},
};
for (ArchType* arch_pair : arch_pairs) {
for (size_t i = 0; i < 2; i++) {