[all-commits] [llvm/llvm-project] 0247b5: [LLDB][RISCV] Add riscv software breakpoint trap code
Emmmer via All-commits
all-commits at lists.llvm.org
Wed Aug 10 23:26:36 PDT 2022
Author: Emmmer <yjhdandan at 163.com>
Date: 2022-08-11 (Thu, 11 Aug 2022)
[LLDB][RISCV] Add riscv software breakpoint trap code
- Take RISC-V `ebreak` instruction as breakpoint trap code, so our breakpoint works as expected now.
- RISC-V does not support hardware single stepping yet. A software implementation may come in future PR.
- Add support for RVC extension (the trap code, etc.).
Reviewed By: DavidSpickett
Differential Revision: https://reviews.llvm.org/D131566
More information about the All-commits