labath wrote:

Just to throw a couple of other ideas:
- write a unit test for the instruction emulator (other architectures have one)
- extend yaml2obj to work on core files
- use minidumps which are supported in yaml2obj (for unwind plan 
generation/instruction emulation to work, you don't actually need a core file 
that contains anything. It just needs to [be 
there](https://github.com/llvm/llvm-project/blob/afe81507809fb845ee3368291adaa9671e6732c0/lldb/test/Shell/Unwind/basic-block-sections-with-dwarf-static.test#L10)
 so that lldb can construct the register context)
- teach lldb to emulate instructions without a core file. (by removing the 
requirement to have a (real) register context for unwind plan construction)

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