[all-commits] [llvm/llvm-project] 7d8ec4: [lldb] const a couple of getters on MemoryRegionInfo

David Spickett via All-commits all-commits at lists.llvm.org
Wed May 18 02:00:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d8ec4dc4461102bafed8063977a66e40562bbb3
      https://github.com/llvm/llvm-project/commit/7d8ec4dc4461102bafed8063977a66e40562bbb3
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    M lldb/include/lldb/Target/MemoryRegionInfo.h
    M lldb/source/API/SBMemoryRegionInfo.cpp

  Log Message:
  -----------
  [lldb] const a couple of getters on MemoryRegionInfo

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.

Differential Revision: https://reviews.llvm.org/D125786




More information about the All-commits mailing list