[all-commits] [llvm/llvm-project] 9ae9dd: [libunwind] Add UNW_AARCH64_* beside UNW_ARM64_*

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Aug 20 14:26:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ae9dd3fcfb9f471887ea6fbb0d0e8f2b9b46a28
      https://github.com/llvm/llvm-project/commit/9ae9dd3fcfb9f471887ea6fbb0d0e8f2b9b46a28
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M libunwind/include/libunwind.h
    M libunwind/src/CompactUnwinder.hpp
    M libunwind/src/DwarfInstructions.hpp
    M libunwind/src/DwarfParser.hpp
    M libunwind/src/Registers.hpp
    M libunwind/src/Unwind-seh.cpp
    M libunwind/src/UnwindCursor.hpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list