[Lldb-commits] [PATCH] D62732: [WIP][RISCV] Initial port of LLDB for RISC-V
Simon Cook via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri May 31 07:07:02 PDT 2019
simoncook created this revision.
simoncook added reviewers: asb, lewis-revill.
Herald added subscribers: benna, psnobl, jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, apazos, johnrusso, rbar, mgorny.
Herald added a project: LLDB.
This is the start of a LLDB port for both 32 and 64-bit RISC-V, implementing the components needed in order to get basic functionality working with our embedded debug server.
Currently the following things are working:
- RV32I/RV64I base registers
- breakpoints (assumes C extension is enabled)
- frame unwinding (if binary has CFI information)
- continue/step
- disassembly
Currently calling functions via the command line and disassembly based frame unwind is not yet implemented. I haven't yet looked at what tests should be implemented alongside this patch.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D62732
Files:
lldb/include/lldb/Utility/ArchSpec.h
lldb/source/API/SystemInitializerFull.cpp
lldb/source/Plugins/ABI/CMakeLists.txt
lldb/source/Plugins/ABI/SysV-riscv/ABISysV_riscv.cpp
lldb/source/Plugins/ABI/SysV-riscv/ABISysV_riscv.h
lldb/source/Plugins/ABI/SysV-riscv/CMakeLists.txt
lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
lldb/source/Target/Platform.cpp
lldb/source/Target/Thread.cpp
lldb/source/Utility/ArchSpec.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62732.202428.patch
Type: text/x-patch
Size: 25266 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190531/9f0956ba/attachment-0001.bin>
More information about the lldb-commits
mailing list