summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-12-06 01:12:00 +0000
committerGreg Clayton <gclayton@apple.com>2013-12-06 01:12:00 +0000
commitd5944cd118bff0a2a861fc728ab968e492b0ccf6 (patch)
tree4395d51eed9f9133414c0f64b851f2bc2cd0e585 /lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp
parentd0b171103e8e532873b568c775cc6ce0e9062cb9 (diff)
downloadbcm5719-llvm-d5944cd118bff0a2a861fc728ab968e492b0ccf6.tar.gz
bcm5719-llvm-d5944cd118bff0a2a861fc728ab968e492b0ccf6.zip
For logical backtrace work, lldb needs to track Module unloads etc & symoblicate an address based on a point in time
<rdar://problem/15314403> This patch adds a new lldb_private::SectionLoadHistory class that tracks what shared libraries were loaded given a process stop ID. This allows us to keep a history of the sections that were loaded for a time T. Many items in history objects will rely upon the process stop ID in the future. llvm-svn: 196557
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp')
-rw-r--r--lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp b/lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp
index 274ba328ad1..86cf45013a4 100644
--- a/lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp
+++ b/lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp
@@ -134,7 +134,7 @@ DynamicLoaderStatic::LoadAllImagesAtFileAddresses ()
SectionSP section_sp (section_list->GetSectionAtIndex (sect_idx));
if (section_sp)
{
- if (m_process->GetTarget().GetSectionLoadList().SetSectionLoadAddress (section_sp, section_sp->GetFileAddress()))
+ if (m_process->GetTarget().SetSectionLoadAddress (section_sp, section_sp->GetFileAddress()))
changed = true;
}
}
OpenPOWER on IntegriCloud