This is an archive of the discontinued LLVM Phabricator instance.

[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.
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.

Diff Detail

Event Timeline

DavidSpickett created this revision.May 17 2022, 6:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2022, 6:54 AM
DavidSpickett requested review of this revision.May 17 2022, 6:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2022, 6:54 AM
This revision was not accepted when it landed; it landed in state Needs Review.May 18 2022, 2:00 AM
This revision was automatically updated to reflect the committed changes.

Landed as obvious as I'll shortly land the follow up.