[Lldb-commits] [lldb] [LLDB][SBSaveCore] Add Extension to Save a thread and N pointers dead (PR #111601)
Jacob Lalonde via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 8 16:39:51 PDT 2024
Jlalond wrote:
> I think we can do better than save at memory region fidelity which is at least at page boundary if I am not wrong.
> We can use type information to query and save the object's size without including hundreds of unrelated objects in the
> heap happen to be in the same page. This should greatly reduce the size of the dump.
I'm okay with this, when @clayborg and I talked about this the original assumption is we should do the entire memory region it's in, because with deduplication we will likely get multiple pointers to the same heap. I think we should leave this heap-region mode, and then also build a 'just save my objects' extension.
https://github.com/llvm/llvm-project/pull/111601
More information about the lldb-commits
mailing list