[all-commits] [llvm/llvm-project] 4fc7e9: [LLDB][RISCV] Make software single stepping work

Emmmer via All-commits all-commits at lists.llvm.org
Tue Aug 16 08:45:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fc7e9cba24b3f96f274126218a7985f31aa5861
      https://github.com/llvm/llvm-project/commit/4fc7e9cba24b3f96f274126218a7985f31aa5861
  Author: Emmmer <yjhdandan at 163.com>
  Date:   2022-08-16 (Tue, 16 Aug 2022)

  Changed paths:
    M lldb/source/Plugins/Instruction/CMakeLists.txt
    A lldb/source/Plugins/Instruction/RISCV/CMakeLists.txt
    A lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.cpp
    A lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.h
    M lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
    M lldb/source/Plugins/Process/Utility/NativeProcessSoftwareSingleStep.cpp
    M lldb/tools/lldb-server/CMakeLists.txt
    M lldb/tools/lldb-server/SystemInitializerLLGS.cpp
    A lldb/unittests/Instruction/ARM64/TestAArch64Emulator.cpp
    M lldb/unittests/Instruction/CMakeLists.txt
    A lldb/unittests/Instruction/RISCV/TestRISCVEmulator.cpp
    R lldb/unittests/Instruction/TestAArch64Emulator.cpp

  Log Message:
  -----------
  [LLDB][RISCV] Make software single stepping work

Add:
- `EmulateInstructionRISCV`, which can be used for riscv32 and riscv64.
- Add unittests for EmulateInstructionRISCV.

Note: Compressed instructions set (RVC) was still not supported in this patch.

Reviewed By: DavidSpickett

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




More information about the All-commits mailing list