diff options
| author | Greg Clayton <gclayton@apple.com> | 2012-07-07 01:24:12 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2012-07-07 01:24:12 +0000 |
| commit | 7820bd1e52167367edd9ec269cd8a89095756eb1 (patch) | |
| tree | b05cc6d2041de6086f66657510ea3fe5da8dcb63 /lldb/source/Core/Section.cpp | |
| parent | 9407302d37cdcb8f2b3a64e956b495f4ec746887 (diff) | |
| download | bcm5719-llvm-7820bd1e52167367edd9ec269cd8a89095756eb1.tar.gz bcm5719-llvm-7820bd1e52167367edd9ec269cd8a89095756eb1.zip | |
<rdar://problem/11357711>
Fixed a crasher where the section load list was not thread safe.
llvm-svn: 159884
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()); } } |

