[Lldb-commits] [lldb] [LLDB][SBSaveCore] Add selectable memory regions to SBSaveCore (PR #105442)

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 22 14:56:24 PDT 2024


================
@@ -6544,7 +6545,8 @@ static void AddRegion(const MemoryRegionInfo &region, bool try_dirty_pages,
     return;
   if (try_dirty_pages && AddDirtyPages(region, ranges))
     return;
-  ranges.push_back(CreateCoreFileMemoryRange(region));
+
+  ranges.Append(region.GetRange().GetRangeBase(), region.GetRange().GetByteSize(), CreateCoreFileMemoryRange(region));
----------------
Jlalond wrote:

Currently I'm having issues with my git-clang format. I'll sort before we go to commit.

https://github.com/llvm/llvm-project/pull/105442


More information about the lldb-commits mailing list