commit | 25e1a9972c598036afb0c13a9eb4c07dc0e587ca | [log] [tgz] |
---|---|---|
author | Marco Vanotti <mvanotti@google.com> | Wed Feb 17 13:42:40 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 19 01:09:08 2021 -0800 |
tree | a92e7d62d3d158e1fd28bdc17e427cdc65ab74f4 | |
parent | 4883be70a79ca5e5a7ab838ea3d506b0ee080cb5 [diff] |
[libunwind] Add support for PC reg column in arm64 This change adds support for the dwarf PC register column in arm64, allowing CFI directives to make use of it. As of the last revision of the DWARF for ARM 64-bit architecture[0], the pc register has been added as a valir register, with number 32. This allows libunwinder to restore both pc and lr, which is useful for stack switches and signal contexts. [0]: https://github.com/ARM-software/abi-aa/blob/f52e1ad3f81254497a83578dc102f6aac89e52d0/aadwarf64/aadwarf64.rst Reviewed By: phosek, #libunwind Differential Revision: https://reviews.llvm.org/D96901 GitOrigin-RevId: 78eabcaa48df72e01b352b4b5077cece0693950c