hhellyer added a comment.

I'd assumed that gcore would ignore the coredump_filter setting but it turns 
out it doesn't so I should be able to use that. lldb seems happy enough opening 
the core files produced with a filter of 0 so it's probably the simplest 
solution.

I don't think lldb has a core file writer for Linux/ELF, process save-core 
doesn't seem to think it does. I'm not sure it would help in this case though - 
I need to make sure we can open core files created via gcore. Opening core 
files generated by lldb itself would be a separate test case. It's still quite 
a desirable feature, Linux does not really have a good API for creating core 
dumps. gcore is useful but it still means exec-ing another process.

I'll tidy up my test cases and try to generate at least 64 and 32 bit intel 
cores to go with them before adding them to this patch.


https://reviews.llvm.org/D26676



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to