diff options
| author | Pavel Labath <labath@google.com> | 2016-11-30 10:17:58 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2016-11-30 10:17:58 +0000 |
| commit | 27469faaa7115d98519c5313097a43b99edefd5a (patch) | |
| tree | 580eb4253d9224f8822b51194196c79f27c35e2c /lldb/source/Plugins/Process/Utility/RegisterInfoInterface.h | |
| parent | e6ba5efa80465f27463af3146ae59144a06742d1 (diff) | |
| download | bcm5719-llvm-27469faaa7115d98519c5313097a43b99edefd5a.tar.gz bcm5719-llvm-27469faaa7115d98519c5313097a43b99edefd5a.zip | |
Remove an x86-ism from RegisterInfoInterface
Summary:
While adding FPR support to x86 elf core files (D26300), we ended up adding a
very x86-specific function to the general RegisterInfoInterface class, which I
didn't catch in review. This removes that function. The only reason we needed
it was to find the offset of the FXSAVE area. This is the same as the offset of
the first register within that area, so we might as well use that.
Reviewers: clayborg, dvlahovski
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D27222
llvm-svn: 288236
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/RegisterInfoInterface.h')
| -rw-r--r-- | lldb/source/Plugins/Process/Utility/RegisterInfoInterface.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterInfoInterface.h b/lldb/source/Plugins/Process/Utility/RegisterInfoInterface.h index a0776407908..12db366d7a5 100644 --- a/lldb/source/Plugins/Process/Utility/RegisterInfoInterface.h +++ b/lldb/source/Plugins/Process/Utility/RegisterInfoInterface.h @@ -29,8 +29,6 @@ public: virtual size_t GetGPRSize() const = 0; - virtual size_t GetFXSAVEOffset() const { return 0; } - virtual const lldb_private::RegisterInfo *GetRegisterInfo() const = 0; // Returns the number of registers including the user registers and the |

