unwind: use explicit memcpy for register saving

Convert the register saving code to use an explicit memcpy rather than the
implicit memcpy from the assignment.  This avoids warnings from -Wcast-qual on
GCC and makes the code more explicit.  Furthermore, use sizeof to calculate the
offsets rather than adding magic numbers, improving legibility of the code.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@228904 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed