diff options
Diffstat (limited to 'lldb/source/Core/Module.cpp')
-rw-r--r-- | lldb/source/Core/Module.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp index 9490d2e2ece..953a81bfdbe 100644 --- a/lldb/source/Core/Module.cpp +++ b/lldb/source/Core/Module.cpp @@ -442,8 +442,8 @@ Module::ResolveSymbolContextForAddress (const Address& so_addr, uint32_t resolve Mutex::Locker locker (m_mutex); uint32_t resolved_flags = 0; - // Clear the result symbol context in case we don't find anything - sc.Clear(); + // Clear the result symbol context in case we don't find anything, but don't clear the target + sc.Clear(false); // Get the section from the section/offset address. SectionSP section_sp (so_addr.GetSection()); |