diff options
Diffstat (limited to 'lldb/source/Core/Section.cpp')
| -rw-r--r-- | lldb/source/Core/Section.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Section.cpp b/lldb/source/Core/Section.cpp index bdaa66be0b7..ec198808e40 100644 --- a/lldb/source/Core/Section.cpp +++ b/lldb/source/Core/Section.cpp @@ -152,7 +152,7 @@ Section::GetLoadBaseAddress (Target *target) const } else { - load_base_addr = target->GetSectionLoadList().GetSectionLoadAddress (this); + load_base_addr = target->GetSectionLoadList().GetSectionLoadAddress (const_cast<Section *>(this)->shared_from_this()); } } |

