diff options
| author | Tamas Berghammer <tberghammer@google.com> | 2015-09-07 10:11:23 +0000 |
|---|---|---|
| committer | Tamas Berghammer <tberghammer@google.com> | 2015-09-07 10:11:23 +0000 |
| commit | c40e7b17699e0f2d9816e0733b4c4393f6a9fbd8 (patch) | |
| tree | 772d86f4ceab60157b29f4ee1be0de2851291719 /lldb/source/Plugins/Process/Utility/RegisterContextLinux_arm64.cpp | |
| parent | 25b9f7ebd382a2b79b80c25efdd10cf26b7f3ad1 (diff) | |
| download | bcm5719-llvm-c40e7b17699e0f2d9816e0733b4c4393f6a9fbd8.tar.gz bcm5719-llvm-c40e7b17699e0f2d9816e0733b4c4393f6a9fbd8.zip | |
Fix the handling of FPR offsets in Linux arm/aarch64 register contexts
Differential revision: http://reviews.llvm.org/D12636
llvm-svn: 246959
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/RegisterContextLinux_arm64.cpp')
| -rw-r--r-- | lldb/source/Plugins/Process/Utility/RegisterContextLinux_arm64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextLinux_arm64.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextLinux_arm64.cpp index 8c23e39ff01..a4ab083995f 100644 --- a/lldb/source/Plugins/Process/Utility/RegisterContextLinux_arm64.cpp +++ b/lldb/source/Plugins/Process/Utility/RegisterContextLinux_arm64.cpp @@ -21,7 +21,7 @@ #define GPR_OFFSET_NAME(reg) (LLVM_EXTENSION offsetof (RegisterContextLinux_arm64::GPR, reg)) #define FPU_OFFSET(idx) ((idx) * 16 + sizeof (RegisterContextLinux_arm64::GPR)) -#define FPU_OFFSET_NAME(reg) (LLVM_EXTENSION offsetof (RegisterContextLinux_arm64::FPU, reg)) +#define FPU_OFFSET_NAME(reg) (LLVM_EXTENSION offsetof (RegisterContextLinux_arm64::FPU, reg) + sizeof (RegisterContextLinux_arm64::GPR)) #define EXC_OFFSET_NAME(reg) (LLVM_EXTENSION offsetof (RegisterContextLinux_arm64::EXC, reg) + sizeof (RegisterContextLinux_arm64::GPR) + sizeof (RegisterContextLinux_arm64::FPU)) #define DBG_OFFSET_NAME(reg) (LLVM_EXTENSION offsetof (RegisterContextLinux_arm64::DBG, reg) + sizeof (RegisterContextLinux_arm64::GPR) + sizeof (RegisterContextLinux_arm64::FPU) + sizeof (RegisterContextLinux_arm64::EXC)) |

