summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBMemoryRegionInfoList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBMemoryRegionInfoList.cpp')
-rw-r--r--lldb/source/API/SBMemoryRegionInfoList.cpp17
1 files changed, 1 insertions, 16 deletions
diff --git a/lldb/source/API/SBMemoryRegionInfoList.cpp b/lldb/source/API/SBMemoryRegionInfoList.cpp
index eebedc87568..ccd2021b608 100644
--- a/lldb/source/API/SBMemoryRegionInfoList.cpp
+++ b/lldb/source/API/SBMemoryRegionInfoList.cpp
@@ -11,7 +11,6 @@
#include "lldb/API/SBMemoryRegionInfo.h"
#include "lldb/API/SBStream.h"
#include "lldb/Target/MemoryRegionInfo.h"
-#include "lldb/Utility/Log.h"
#include <vector>
@@ -109,21 +108,7 @@ bool SBMemoryRegionInfoList::GetMemoryRegionAtIndex(
LLDB_RECORD_METHOD(bool, SBMemoryRegionInfoList, GetMemoryRegionAtIndex,
(uint32_t, lldb::SBMemoryRegionInfo &), idx, region_info);
- Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_API));
-
- bool result = m_opaque_up->GetMemoryRegionInfoAtIndex(idx, region_info.ref());
-
- if (log) {
- SBStream sstr;
- region_info.GetDescription(sstr);
- log->Printf("SBMemoryRegionInfoList::GetMemoryRegionAtIndex (this.ap=%p, "
- "idx=%d) => SBMemoryRegionInfo (this.ap=%p, '%s')",
- static_cast<void *>(m_opaque_up.get()), idx,
- static_cast<void *>(region_info.m_opaque_up.get()),
- sstr.GetData());
- }
-
- return result;
+ return m_opaque_up->GetMemoryRegionInfoAtIndex(idx, region_info.ref());
}
void SBMemoryRegionInfoList::Clear() {
OpenPOWER on IntegriCloud