[libunwind] Add UNW_AARCH64_* beside UNW_ARM64_*
authorFangrui Song <i@maskray.me>
Fri, 20 Aug 2021 21:26:27 +0000 (14:26 -0700)
committerFangrui Song <i@maskray.me>
Fri, 20 Aug 2021 21:26:27 +0000 (14:26 -0700)
commit9ae9dd3fcfb9f471887ea6fbb0d0e8f2b9b46a28
tree4f6e7210fcb46e7e6250c7f2aa96722ce2ef3948
parent44bf0dc625abe5a715bd283ce7c9a4ad976b8449
[libunwind] Add UNW_AARCH64_* beside UNW_ARM64_*

The original libunwind project defines UNW_AARCH64_* instead of UNW_ARM64_*.
Rename the enum members to match. This allows some applications with simple
`unw_init_local` usage to migrate to llvm-project libunwind.

Note: the canonical names of `UNW_ARM_D{0..31}` are now `UNW_AARCH64_V{0..31}`,
to match the original libunwind.

UNW_ARM64_* are kept for now for compatibility. Some may be unneeded and can be
cleaned up in the future.

Reviewed By: #libunwind, compnerd

Differential Revision: https://reviews.llvm.org/D107996
libunwind/include/libunwind.h
libunwind/src/CompactUnwinder.hpp
libunwind/src/DwarfInstructions.hpp
libunwind/src/DwarfParser.hpp
libunwind/src/Registers.hpp
libunwind/src/Unwind-seh.cpp
libunwind/src/UnwindCursor.hpp