diff options
author | Christopher Ferris <cferris@google.com> | 2018-02-21 15:39:07 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2018-02-21 20:16:39 -0800 |
commit | 5a1655c2f2eac50fc62f4a5d8dd3c94809f9fc72 (patch) | |
tree | db4b39ed15a22c52e05c07c1982e46e73bff3830 /libunwindstack/include/unwindstack/RegsMips64.h | |
parent | 92f03291e14c9995f0d396b2260bd983ed547627 (diff) | |
download | unwinding-5a1655c2f2eac50fc62f4a5d8dd3c94809f9fc72.tar.gz |
Change the GetAdjustedRelPc to GetPcAdjustment.
This cleans up a bit of the Unwinder code to make it clear what's
going on.
Modify the offline unit tests to verify the pc and sp to make sure
that those values get computed correctly.
Test: Passes unit tests.
Test: Passes 137-cfi art tests.
Change-Id: I0787a1d77b8726d3defd08f31c7476f6798f8d0d
Diffstat (limited to 'libunwindstack/include/unwindstack/RegsMips64.h')
-rw-r--r-- | libunwindstack/include/unwindstack/RegsMips64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwindstack/include/unwindstack/RegsMips64.h b/libunwindstack/include/unwindstack/RegsMips64.h index 6b4bcdf..8c2d443 100644 --- a/libunwindstack/include/unwindstack/RegsMips64.h +++ b/libunwindstack/include/unwindstack/RegsMips64.h @@ -36,7 +36,7 @@ class RegsMips64 : public RegsImpl<uint64_t> { virtual ArchEnum Arch() override final; - uint64_t GetAdjustedPc(uint64_t rel_pc, Elf* elf) override; + uint64_t GetPcAdjustment(uint64_t rel_pc, Elf* elf) override; void SetFromRaw() override; |