GetDirtyPageList was being assigned to const & in most places anyway.
If you wanted to change the list you'd make a new one and call
SetDirtyPageList.
GetPageSize is just an int so no issues being const.
Paths
| Differential D125786
[lldb] const a couple of getters on MemoryRegionInfo ClosedPublic Authored by DavidSpickett on May 17 2022, 6:54 AM.
Details Summary GetDirtyPageList was being assigned to const & in most places anyway. GetPageSize is just an int so no issues being const.
Diff Detail
Event TimelineDavidSpickett added a child revision: D111791: [lldb] Add --all option to "memory region".May 17 2022, 6:56 AM Closed by commit rG7d8ec4dc4461: [lldb] const a couple of getters on MemoryRegionInfo (authored by DavidSpickett). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 430280 lldb/include/lldb/Target/MemoryRegionInfo.h
lldb/source/API/SBMemoryRegionInfo.cpp
|