diff options
author | Greg Clayton <gclayton@apple.com> | 2013-12-06 01:12:00 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-12-06 01:12:00 +0000 |
commit | d5944cd118bff0a2a861fc728ab968e492b0ccf6 (patch) | |
tree | 4395d51eed9f9133414c0f64b851f2bc2cd0e585 /lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp | |
parent | d0b171103e8e532873b568c775cc6ce0e9062cb9 (diff) | |
download | bcm5719-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/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp')
-rw-r--r-- | lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp index 3403da43fd5..2876fd4c70d 100644 --- a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp +++ b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp @@ -921,7 +921,7 @@ DynamicLoaderDarwinKernel::KextImageInfo::LoadImageUsingMemoryModule (Process *p const Section *memory_section = memory_section_list->FindSectionByName(ondisk_section_sp->GetName()).get(); if (memory_section) { - target.GetSectionLoadList().SetSectionLoadAddress (ondisk_section_sp, memory_section->GetFileAddress()); + target.SetSectionLoadAddress (ondisk_section_sp, memory_section->GetFileAddress()); ++num_sections_loaded; } } |