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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to