It's not really useful, and largely increases the footprint.
rdar://problem/49293525
Differential D59896
[ObjectFileMachO] Disable memory caching for savecore. davide on Mar 27 2019, 11:57 AM. Authored by
Details It's not really useful, and largely increases the footprint. rdar://problem/49293525
Diff Detail
Event TimelineComment Actions Looks good. Removing that printf is good. Could you also remove the printf("mach_header:...") in the same function? It would be nice if include/lldb/Target/Process.h had the decl for ReadMemoryFromInferior right after ReadMemory(), and a comment that ReadMemoryFromInferior does not go through the memory cache (and most callers should go through ReadMemory()) so people know what the difference is. Comment Actions Done. $ git llvm push Pushing 3 commits: d3e193e68a7 [ObjectFileMachO] Disable memory caching for savecore. 10502683510 [ObjectFileMachO] Remove another debugging aid. a619d7b69b9 [Process] Reorder declarations and document ReadMemoryFromInferior. Sending lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp Transmitting file data .done Committing transaction... Committed revision 357134. Committed d3e193e68a7 to svn. Sending lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp Transmitting file data .done Committing transaction... Committed revision 357135. Committed 10502683510 to svn. Sending lldb/trunk/include/lldb/Target/Process.h Transmitting file data .done Committing transaction... Committed revision 357136. Committed a619d7b69b9 to svn. |