summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/RegsTest.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-08-26 00:02:46 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-08-26 00:02:46 +0000
commit75a40988c0e7a35f2663b644989ce012b66f4586 (patch)
tree2e40cac43676143ffa2d2793fdc87aa7ee5807e4 /libunwindstack/tests/RegsTest.cpp
parent54a28300b790dbbb165563bca0720939b5157864 (diff)
parent0953ecd03a90350117d6881c55959c6644972b79 (diff)
Merge "libunwindstack: make machine type a property of Regs."
Diffstat (limited to 'libunwindstack/tests/RegsTest.cpp')
-rw-r--r--libunwindstack/tests/RegsTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libunwindstack/tests/RegsTest.cpp b/libunwindstack/tests/RegsTest.cpp
index e6de56aa3..f549a50d6 100644
--- a/libunwindstack/tests/RegsTest.cpp
+++ b/libunwindstack/tests/RegsTest.cpp
@@ -58,6 +58,8 @@ class RegsTestImpl : public RegsImpl<TypeParam> {
: RegsImpl<TypeParam>(total_regs, regs_sp, return_loc) {}
virtual ~RegsTestImpl() = default;
+ uint32_t MachineType() override { return 0; }
+
uint64_t GetAdjustedPc(uint64_t, Elf*) override { return 0; }
void SetFromRaw() override {}
bool StepIfSignalHandler(uint64_t, Elf*, Memory*) override { return false; }