Update ABISysV_arm64::RegisterIsVolatile to accept registers prefixed with r
authorStephane Sezer <sas@cd80.net>
Mon, 9 Oct 2017 17:49:32 +0000 (17:49 +0000)
committerStephane Sezer <sas@cd80.net>
Mon, 9 Oct 2017 17:49:32 +0000 (17:49 +0000)
commit7c6d1c3171a434d70323c3b5756b5be7a93d73ed
tree7811cc9511e345d557ebb385411edfc34ee0951f
parent8804483b052709a4afc0c9f48b6d726ce07744b9
Update ABISysV_arm64::RegisterIsVolatile to accept registers prefixed with r

Summary:
While the specification says that the 64bit registers are prefixed with
`x`, it seems that many people still use `r`. Until recently, we had been using
the `r` prefix instead of the `x` prefix in ds2. This caused lldb to fail during
unwinding. I think it's reasonable to check for a register prefixed with `r`,
since some people still choose to use `r`.

Reviewers: sas, fjricci, clayborg

Reviewed By: sas, clayborg

Subscribers: aemerson, javed.absar, kristof.beyls

Differential Revision: https://reviews.llvm.org/D38376

Change by Alex Langford <apl@fb.com>

llvm-svn: 315221
lldb/source/Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp