From b64b9009628d2ab9c24cfc2894fe55b7786c5f25 Mon Sep 17 00:00:00 2001 From: Mikhail Maltsev Date: Mon, 22 Jul 2019 16:43:03 +0000 Subject: [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. llvm-svn: 366701 --- libunwind/src/Unwind-EHABI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libunwind/src') diff --git a/libunwind/src/Unwind-EHABI.cpp b/libunwind/src/Unwind-EHABI.cpp index 8ee37d0fbe4..a23ba2cc7e0 100644 --- a/libunwind/src/Unwind-EHABI.cpp +++ b/libunwind/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 -- cgit v1.2.1