[Lldb-commits] [lldb] [lldb] Implement RISCV function unwinding using instruction emulation (PR #147434)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 15 09:55:42 PDT 2025


clayborg wrote:

> > Unfortunately there is no easy way to add testing for this. No RISCV hardware at the disposal. I welcome the suggestions.
> 
> Make a core file that does not include any internal data and then it can be tested on any system. If you have to satisfy internal policies around that, consider obj2yaml-ing the file, and then either using the yaml in the test, or just using the yaml format as a way to hack out any internal data then convert it back to an object.

obj2yaml doesn't work well at all for core files. Core files have only program headers and obj2yaml doesn't allow program header to specify data. On sections in the section header can have data. 



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


More information about the lldb-commits mailing list