Fixed build issues after recent checkin.

Added the ability to get the name of the SBSection.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140444 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBBreakpointLocation.cpp b/source/API/SBBreakpointLocation.cpp
index c5a2def..20e4ac8 100644
--- a/source/API/SBBreakpointLocation.cpp
+++ b/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/source/API/SBSection.cpp b/source/API/SBSection.cpp
index 6d66596..2636dd0 100644
--- a/source/API/SBSection.cpp
+++ b/source/API/SBSection.cpp
@@ -128,6 +128,15 @@
     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)
 {