x/debug: more robust core dump handling
Handle cases where the core dump is incomplete by treating
the incomplete memory as read-as-zero.
1. Memory just isn't in the core dump (MADV_DONTDUMP).
2. Files referenced by the core dump aren't found.
Both of these occur with real dumps and we'd like to not make
these errors fatal. Often the client can make progress regardless.
Instead, export warning strings so clients can print them.
Run-TryBot: Keith Randall <email@example.com>
Reviewed-by: Peter Weinberger <firstname.lastname@example.org>
1 file changed