summaryrefslogtreecommitdiff
path: root/libunwindstack/include/unwindstack/RegsX86_64.h
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2020-03-19 17:27:58 -0700
committerPeter Collingbourne <pcc@google.com>2020-03-19 17:51:20 -0700
commit3243937fe91d04f4a54ffacf0490fab1e4b625d8 (patch)
treec20b11d6b45558e2f61599101afa1192034446b5 /libunwindstack/include/unwindstack/RegsX86_64.h
parentca73d38ec7b08d4f253064dc96bec139eccb8cef (diff)
downloadunwinding-3243937fe91d04f4a54ffacf0490fab1e4b625d8.tar.gz
Make GetPcAdjustment a free function.
We're now using it in contexts that don't have all of the registers available, such as GWP-ASan and soon MTE, so it doesn't make sense to have it be a member function of Regs. Bug: 135772972 Change-Id: I18b104ea0adb78588d7e475d0624cefc701ba52c
Diffstat (limited to 'libunwindstack/include/unwindstack/RegsX86_64.h')
-rw-r--r--libunwindstack/include/unwindstack/RegsX86_64.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libunwindstack/include/unwindstack/RegsX86_64.h b/libunwindstack/include/unwindstack/RegsX86_64.h
index 3e919a4..a11aef0 100644
--- a/libunwindstack/include/unwindstack/RegsX86_64.h
+++ b/libunwindstack/include/unwindstack/RegsX86_64.h
@@ -37,8 +37,6 @@ class RegsX86_64 : public RegsImpl<uint64_t> {
ArchEnum Arch() override final;
- uint64_t GetPcAdjustment(uint64_t rel_pc, Elf* elf) override;
-
bool SetPcFromReturnAddress(Memory* process_memory) override;
bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;