Add GetAddress to SBBreakpointLocation, and put the .i files in the API section of the Xcode project.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140440 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBBreakpointLocation.cpp b/source/API/SBBreakpointLocation.cpp
index 9ab9522..c5a2def 100644
--- a/source/API/SBBreakpointLocation.cpp
+++ b/source/API/SBBreakpointLocation.cpp
@@ -70,6 +70,15 @@
return m_opaque_sp.get() != NULL;
}
+SBAddress
+SBBreakpointLocation::GetAddress ()
+{
+ if (m_opaque_sp)
+ return SBAddress(&m_opaque_sp->GetAddress());
+ else
+ return SBAddress();
+}
+
addr_t
SBBreakpointLocation::GetLoadAddress ()
{