[all-commits] [llvm/llvm-project] 5ea1c8: [LLDB][LoongArch] Add LSX and LASX register defini...

wanglei via All-commits all-commits at lists.llvm.org
Mon Jan 13 17:16:32 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ea1c873647c02c80556594b9738de6768d98bf1
      https://github.com/llvm/llvm-project/commit/5ea1c873647c02c80556594b9738de6768d98bf1
  Author: wanglei <wanglei at loongson.cn>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/packages/Python/lldbsuite/test/make/Makefile.rules
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_loongarch64.cpp
    M lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_loongarch64.h
    M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_loongarch64.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_loongarch64.h
    M lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_loongarch64.cpp
    M lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_loongarch64.h
    M lldb/source/Plugins/Process/Utility/RegisterInfos_loongarch64.h
    M lldb/source/Plugins/Process/Utility/lldb-loongarch-register-enums.h
    M lldb/source/Utility/LoongArch_DWARF_Registers.h
    A lldb/test/API/linux/loongarch64/simd_registers/Makefile
    A lldb/test/API/linux/loongarch64/simd_registers/TestLoongArch64LinuxSIMDRegisters.py
    A lldb/test/API/linux/loongarch64/simd_registers/main.c

  Log Message:
  -----------
  [LLDB][LoongArch] Add LSX and LASX register definitions and operations

With this patch, vector registers can be read and written when debugging a live process.

Note: We currently assume that all LoongArch64 processors include the
LSX and LASX extensions.

To add test cases, the following modifications were also made:
lldb/packages/Python/lldbsuite/test/lldbtest.py
lldb/packages/Python/lldbsuite/test/make/Makefile.rules

Reviewed By: DavidSpickett, SixWeining

Pull Request: https://github.com/llvm/llvm-project/pull/120664



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list