diff options
author | Mikhail Maltsev <mikhail.maltsev@arm.com> | 2019-07-22 16:43:03 +0000 |
---|---|---|
committer | Mikhail Maltsev <mikhail.maltsev@arm.com> | 2019-07-22 16:43:03 +0000 |
commit | 7e0aa1490c5f03156ea95480c4ffa22e531351a2 (patch) | |
tree | fcdd1fb0742414b7641ad365b2ab8d0d839b3f59 | |
parent | 65245a0768cd105570a47da48efdeb7c55321335 (diff) |
[libunwind][ARM] Fix types in _Unwind_VRS_Get.
This is a small fix for https://reviews.llvm.org/D64996. The types of
w0 and w1 in _Unwind_VRS_Get must be uint64_t, not uint32_t.
Committing as obvious.
git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@366701 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | src/Unwind-EHABI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Unwind-EHABI.cpp b/src/Unwind-EHABI.cpp index 8ee37d0..a23ba2c 100644 --- a/src/Unwind-EHABI.cpp +++ b/src/Unwind-EHABI.cpp @@ -941,8 +941,8 @@ _Unwind_VRS_Pop(_Unwind_Context *context, _Unwind_VRS_RegClass regclass, // format 1", which is equivalent to FSTMD + a padding word. for (uint32_t i = first; i < end; ++i) { // SP is only 32-bit aligned so don't copy 64-bit at a time. - uint32_t w0 = *sp++; - uint32_t w1 = *sp++; + uint64_t w0 = *sp++; + uint64_t w1 = *sp++; #ifdef __LITTLE_ENDIAN__ uint64_t value = (w1 << 32) | w0; #else |