AlexeyMerzlyakov wrote: @JDevlieghere, to get coredump file, I've used [make-core.sh](https://github.com/llvm/llvm-project/blob/main/lldb/test/API/functionalities/postmortem/elf-core/make-core.sh) script on the target H/W. Generated file should be minimal, so you can set `coredump_filter` (https://man7.org/linux/man-pages/man5/core.5.html) on the target before getting core-file in order to reduce the number of unnecessary mappings written. Something like `echo 0x7 > /proc/self/coredump_filter`. I've used to choose minimal necessary bitset empirically, by trying setting different bits to 0 unless the test won't broken.
https://github.com/llvm/llvm-project/pull/115408 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits