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

Reply via email to