summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBMemoryRegionInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBMemoryRegionInfo.cpp')
-rw-r--r--lldb/source/API/SBMemoryRegionInfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/source/API/SBMemoryRegionInfo.cpp b/lldb/source/API/SBMemoryRegionInfo.cpp
index 53b180787af..1e4dd769644 100644
--- a/lldb/source/API/SBMemoryRegionInfo.cpp
+++ b/lldb/source/API/SBMemoryRegionInfo.cpp
@@ -110,6 +110,11 @@ SBMemoryRegionInfo::IsMapped () {
return m_opaque_ap->GetMapped() == MemoryRegionInfo::eYes;
}
+const char *
+SBMemoryRegionInfo::GetName () {
+ return m_opaque_ap->GetName().AsCString();
+}
+
bool
SBMemoryRegionInfo::GetDescription (SBStream &description)
{
OpenPOWER on IntegriCloud