diff options
Diffstat (limited to 'lldb/source')
| -rw-r--r-- | lldb/source/API/SBBreakpointLocation.cpp | 1 | ||||
| -rw-r--r-- | lldb/source/API/SBSection.cpp | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/lldb/source/API/SBBreakpointLocation.cpp b/lldb/source/API/SBBreakpointLocation.cpp index c5a2def9322..20e4ac870d4 100644 --- a/lldb/source/API/SBBreakpointLocation.cpp +++ b/lldb/source/API/SBBreakpointLocation.cpp @@ -9,6 +9,7 @@ #include "lldb/API/SBBreakpointLocation.h" #include "lldb/API/SBDefines.h" +#include "lldb/API/SBAddress.h" #include "lldb/API/SBDebugger.h" #include "lldb/API/SBStream.h" diff --git a/lldb/source/API/SBSection.cpp b/lldb/source/API/SBSection.cpp index 6d665962465..2636dd02136 100644 --- a/lldb/source/API/SBSection.cpp +++ b/lldb/source/API/SBSection.cpp @@ -128,6 +128,15 @@ SBSection::IsValid () const return m_opaque_ap.get() != NULL && m_opaque_ap->IsValid(); } +const char * +SBSection::GetName () +{ + if (IsValid()) + return m_opaque_ap->GetSection()->GetName().GetCString(); + return NULL; +} + + lldb::SBSection SBSection::FindSubSection (const char *sect_name) { |

