[Lldb-commits] [lldb] [lldb][RISCV] Add RegisterContextPOSIXCore for RISC-V 64 (PR #93297)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri May 31 04:10:19 PDT 2024


DavidSpickett wrote:

Corefiles can be debugged anywhere, so you should add a test case to `lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py`.

There is a way to minimise the size of the core file, see https://man7.org/linux/man-pages/man5/core.5.html "Controlling which mappings are written to the core dump". I usually generate a normal core, then keep removing stuff until the tests stop passing. Sometimes there's not much we can remove.

https://github.com/llvm/llvm-project/pull/93297


More information about the lldb-commits mailing list