diff options
| author | Jim Ingham <jingham@apple.com> | 2011-09-24 01:04:57 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2011-09-24 01:04:57 +0000 |
| commit | 810bf85e8a56b5065c1691574374111baa1f6a4b (patch) | |
| tree | c96670c0915e112075766202282462356e3c452f /lldb/source/API/SBBreakpointLocation.cpp | |
| parent | 90d6fe5d358eeacc8e19eccc6524cac955b077b1 (diff) | |
| download | bcm5719-llvm-810bf85e8a56b5065c1691574374111baa1f6a4b.tar.gz bcm5719-llvm-810bf85e8a56b5065c1691574374111baa1f6a4b.zip | |
Add GetAddress to SBBreakpointLocation, and put the .i files in the API section of the Xcode project.
llvm-svn: 140440
Diffstat (limited to 'lldb/source/API/SBBreakpointLocation.cpp')
| -rw-r--r-- | lldb/source/API/SBBreakpointLocation.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lldb/source/API/SBBreakpointLocation.cpp b/lldb/source/API/SBBreakpointLocation.cpp index 9ab952261a6..c5a2def9322 100644 --- a/lldb/source/API/SBBreakpointLocation.cpp +++ b/lldb/source/API/SBBreakpointLocation.cpp @@ -70,6 +70,15 @@ SBBreakpointLocation::IsValid() const 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 () { |

