[Lldb-commits] [PATCH] D88387: Create "skinny corefiles" for Mach-O with process save-core / reading

Jason Molenda via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 7 16:08:33 PDT 2020


jasonmolenda added a comment.

I was thinking about the UI of this some more today.

I think process save-core should take a --core-style argument with an enum of (currently) 'full' or 'modified-memory'.  Plugin::SaveCore will take a requested_coredump_style and will return an created_coredump_style.  The user can request a modified-memory coredump on linux, but it's not supported so they get a full coredump.  We could have "stack-only" coredumps (this would be an awful lot like a minidump iiuc, and may be duplicative), or "modified-memory-plus-binary-images" (better name tbd) which would copy in the binary images of any executing binaries or whatever.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88387/new/

https://reviews.llvm.org/D88387



More information about the lldb-commits mailing list