forked from OSchip/llvm-project
Ah, fix formatting, I didn't notice lldb-instr's code
additions were unusually formatted.
This commit is contained in:
parent
5bab1f0952
commit
aa575ed918
|
@ -116,14 +116,14 @@ const char *SBMemoryRegionInfo::GetName() {
|
|||
return m_opaque_up->GetName().AsCString();
|
||||
}
|
||||
|
||||
bool SBMemoryRegionInfo::HasDirtyMemoryPageList() {LLDB_RECORD_METHOD_NO_ARGS(bool, SBMemoryRegionInfo, HasDirtyMemoryPageList);
|
||||
|
||||
bool SBMemoryRegionInfo::HasDirtyMemoryPageList() {
|
||||
LLDB_RECORD_METHOD_NO_ARGS(bool, SBMemoryRegionInfo, HasDirtyMemoryPageList);
|
||||
|
||||
return m_opaque_up->GetDirtyPageList().hasValue();
|
||||
}
|
||||
|
||||
uint32_t SBMemoryRegionInfo::GetNumDirtyPages() {LLDB_RECORD_METHOD_NO_ARGS(uint32_t, SBMemoryRegionInfo, GetNumDirtyPages);
|
||||
|
||||
uint32_t SBMemoryRegionInfo::GetNumDirtyPages() {
|
||||
LLDB_RECORD_METHOD_NO_ARGS(uint32_t, SBMemoryRegionInfo, GetNumDirtyPages);
|
||||
|
||||
uint32_t num_dirty_pages = 0;
|
||||
llvm::Optional<std::vector<addr_t>> dirty_page_list =
|
||||
|
@ -134,8 +134,9 @@ uint32_t SBMemoryRegionInfo::GetNumDirtyPages() {LLDB_RECORD_METHOD_NO_ARGS(uint
|
|||
return num_dirty_pages;
|
||||
}
|
||||
|
||||
addr_t SBMemoryRegionInfo::GetDirtyPageAddressAtIndex(uint32_t idx) {LLDB_RECORD_METHOD(lldb::addr_t, SBMemoryRegionInfo, GetDirtyPageAddressAtIndex, (uint32_t), idx);
|
||||
|
||||
addr_t SBMemoryRegionInfo::GetDirtyPageAddressAtIndex(uint32_t idx) {
|
||||
LLDB_RECORD_METHOD(lldb::addr_t, SBMemoryRegionInfo,
|
||||
GetDirtyPageAddressAtIndex, (uint32_t), idx);
|
||||
|
||||
addr_t dirty_page_addr = LLDB_INVALID_ADDRESS;
|
||||
const llvm::Optional<std::vector<addr_t>> &dirty_page_list =
|
||||
|
@ -146,8 +147,8 @@ addr_t SBMemoryRegionInfo::GetDirtyPageAddressAtIndex(uint32_t idx) {LLDB_RECORD
|
|||
return dirty_page_addr;
|
||||
}
|
||||
|
||||
int SBMemoryRegionInfo::GetPageSize() {LLDB_RECORD_METHOD_NO_ARGS(int, SBMemoryRegionInfo, GetPageSize);
|
||||
|
||||
int SBMemoryRegionInfo::GetPageSize() {
|
||||
LLDB_RECORD_METHOD_NO_ARGS(int, SBMemoryRegionInfo, GetPageSize);
|
||||
|
||||
return m_opaque_up->GetPageSize();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue