[ARM] Fix unwind information for floating point registers
authorOliver Stannard <oliver.stannard@arm.com>
Wed, 19 Sep 2018 13:25:31 +0000 (13:25 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Wed, 19 Sep 2018 13:25:31 +0000 (13:25 +0000)
commit0b835be7bb3e84dbb3efe7bab32a33166d94db8e
tree0bf424ae9aa146d949e13d22e04cf9312af86243
parent875c938fecbd86b7e7bdfcc59f54e3d07a9adfbc
[ARM] Fix unwind information for floating point registers

Fixes the unwind information generated for floating-point registers.
Previously, all padding registers were assumed to be four bytes wide. Now, the
width of the register is used to specify the amount of padding.

Patch by Jackson Woodruff!

Differential revision: https://reviews.llvm.org/D51494

llvm-svn: 342545
llvm/lib/Target/ARM/ARMAsmPrinter.cpp
llvm/test/CodeGen/ARM/unwind-fp.ll [new file with mode: 0644]