diff options
author | Alexey Merzlyakov <60094858+AlexeyMerzlyakov@users.noreply.github.com> | 2024-06-05 12:14:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-05 10:14:48 +0100 |
commit | d3a9043ec2ee7ea278be4f3c86823512e44d01bf (patch) | |
tree | 6a3eba245c73d1ea7d17812e45a50f6ef5d221be /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8ab578a1269ecfd8583afa6af0796cf941fed52e (diff) | |
download | llvm-d3a9043ec2ee7ea278be4f3c86823512e44d01bf.zip llvm-d3a9043ec2ee7ea278be4f3c86823512e44d01bf.tar.gz llvm-d3a9043ec2ee7ea278be4f3c86823512e44d01bf.tar.bz2 |
[lldb][RISCV] Add RegisterContextPOSIXCore for RISC-V 64 (#93297)
The PR adds the support of CoreDump debugging for RISC-V 64. It
implements new `RegisterContextCorePOSIX_riscv64` class.
Also, the contribution fixes `GetRegisterCount()` ->
`GetRegisterSetCount()` misprint in
`RegisterContextPOSIX_riscv64::GetRegisterSetCount()` method, which
leaded to `set && "Register set should be valid."` assertion during
`register info aX` command call.
The patch was tested (on coredumps generated for simple Integer/FP
calculation code) for _cross x86_64 -> RISCV_ and _native RISCV_ LLDB
builds. There were performed basic LLDB functionality tests, such as:
- CoreDump file load
- Backtrace / frames
- GP/FP registers read/info/list
- Basic switch between threads
- Disassembler code
- Memory regions read / display
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions