summaryrefslogtreecommitdiff
path: root/lldb/source/API/SBFunction.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2025-02-06 09:17:50 +0100
committerGitHub <noreply@github.com>2025-02-06 09:17:50 +0100
commit0cfb98f871b6bc82691b5aa85b20703de1621875 (patch)
tree15c405051fc661f2deceb53ed7ac0d5cc4d6fc3b /lldb/source/API/SBFunction.cpp
parentfeb5a77d700f46d6638f073d411cbe0d8a924fdf (diff)
[lldb] s/GetAddressRange().GetBaseAddress()/GetAddress() (#125847)
Three more cases where it's obvious that the code is looking for the address of the function entry point.
Diffstat (limited to 'lldb/source/API/SBFunction.cpp')
-rw-r--r--lldb/source/API/SBFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBFunction.cpp b/lldb/source/API/SBFunction.cpp
index d07594c2e8c0..19861f6af364 100644
--- a/lldb/source/API/SBFunction.cpp
+++ b/lldb/source/API/SBFunction.cpp
@@ -144,7 +144,7 @@ SBAddress SBFunction::GetStartAddress() {
SBAddress addr;
if (m_opaque_ptr)
- addr.SetAddress(m_opaque_ptr->GetAddressRange().GetBaseAddress());
+ addr.SetAddress(m_opaque_ptr->GetAddress());
return addr;
}