Home
last modified time | relevance | path

Searched refs:section_sp (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-10-stable/contrib/llvm/tools/lldb/source/API/
DSBSection.cpp38 SBSection::SBSection (const lldb::SectionSP &section_sp) : in SBSection() argument
41 if (section_sp) in SBSection()
42 m_opaque_wp = section_sp; in SBSection()
59 SectionSP section_sp (GetSP()); in IsValid() local
60 return section_sp && section_sp->GetModule().get() != NULL; in IsValid()
66 SectionSP section_sp (GetSP()); in GetName() local
67 if (section_sp) in GetName()
68 return section_sp->GetName().GetCString(); in GetName()
76 SectionSP section_sp (GetSP()); in GetParent() local
77 if (section_sp) in GetParent()
[all …]
DSBModule.cpp632 SectionSP section_sp (section_list->FindSectionByName(const_sect_name)); in FindSection() local
633 if (section_sp) in FindSection()
635 sb_section.SetSP (section_sp); in FindSection()
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Core/
DAddress.cpp245 SectionSP section_sp (section_list->FindSectionContainingFileAddress(file_addr)); in ResolveAddressUsingFileSections() local
246 m_section_wp = section_sp; in ResolveAddressUsingFileSections()
247 if (section_sp) in ResolveAddressUsingFileSections()
249 assert( section_sp->ContainsFileAddress(file_addr) ); in ResolveAddressUsingFileSections()
250 m_offset = file_addr - section_sp->GetFileAddress(); in ResolveAddressUsingFileSections()
262 SectionSP section_sp (GetSection()); in GetModule() local
263 if (section_sp) in GetModule()
264 module_sp = section_sp->GetModule(); in GetModule()
271 SectionSP section_sp (GetSection()); in GetFileAddress() local
272 if (section_sp) in GetFileAddress()
[all …]
DDynamicLoader.cpp152 SectionSP section_sp (sections->GetSectionAtIndex(i)); in UnloadSectionsCommon() local
153 target.SetSectionUnloaded(section_sp); in UnloadSectionsCommon()
DSection.cpp332 SectionList::AddSection (const lldb::SectionSP& section_sp) in AddSection() argument
334 assert (section_sp.get()); in AddSection()
336 m_sections.push_back(section_sp); in AddSection()
DModule.cpp465 SectionSP section_sp (so_addr.GetSection()); in ResolveSymbolContextForAddress() local
468 if (section_sp && section_sp->GetModule().get() == this) in ResolveSymbolContextForAddress()
1369 lldb::SectionSP section_sp (section_list->GetSectionAtIndex (idx - 1)); in SetSymbolFileFileSpec() local
1370 if (section_sp->GetObjectFile() == obj_file) in SetSymbolFileFileSpec()
1405 SectionSP section_sp = sections->GetSectionAtIndex(sect_idx); in IsLoadedInTarget() local
1406 if (section_sp->GetLoadBaseAddress(target) != LLDB_INVALID_ADDRESS) in IsLoadedInTarget()
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Target/
DSectionLoadList.cpp168 SectionLoadList::SetSectionUnloaded (const lldb::SectionSP &section_sp) in SetSectionUnloaded() argument
172 if (section_sp) in SetSectionUnloaded()
178 const FileSpec &module_file_spec (section_sp->GetModule()->GetFileSpec()); in SetSectionUnloaded()
181 section_sp.get(), in SetSectionUnloaded()
183 section_sp->GetName().AsCString()); in SetSectionUnloaded()
188 sect_to_addr_collection::iterator sta_pos = m_sect_to_addr.find(section_sp.get()); in SetSectionUnloaded()
204 SectionLoadList::SetSectionUnloaded (const lldb::SectionSP &section_sp, addr_t load_addr) in SetSectionUnloaded() argument
210 const FileSpec &module_file_spec (section_sp->GetModule()->GetFileSpec()); in SetSectionUnloaded()
213 section_sp.get(), in SetSectionUnloaded()
215 section_sp->GetName().AsCString(), in SetSectionUnloaded()
[all …]
DSectionLoadHistory.cpp121 SectionLoadHistory::GetSectionLoadAddress (uint32_t stop_id, const lldb::SectionSP &section_sp) in GetSectionLoadAddress() argument
126 return section_load_list->GetSectionLoadAddress(section_sp); in GetSectionLoadAddress()
141 const lldb::SectionSP &section_sp, in SetSectionLoadAddress() argument
148 return section_load_list->SetSectionLoadAddress(section_sp, load_addr, warn_multiple); in SetSectionLoadAddress()
152 SectionLoadHistory::SetSectionUnloaded (uint32_t stop_id, const lldb::SectionSP &section_sp) in SetSectionUnloaded() argument
157 return section_load_list->SetSectionUnloaded (section_sp); in SetSectionUnloaded()
161 SectionLoadHistory::SetSectionUnloaded (uint32_t stop_id, const lldb::SectionSP &section_sp, addr_t… in SetSectionUnloaded() argument
166 return section_load_list->SetSectionUnloaded (section_sp, load_addr); in SetSectionUnloaded()
DTarget.cpp1255 SectionSP section_sp (addr.GetSection()); in ReadMemoryFromFileCache() local
1256 if (section_sp) in ReadMemoryFromFileCache()
1259 if (section_sp->IsEncrypted()) in ReadMemoryFromFileCache()
1264 ModuleSP module_sp (section_sp->GetModule()); in ReadMemoryFromFileCache()
1267 ObjectFile *objfile = section_sp->GetModule()->GetObjectFile(); in ReadMemoryFromFileCache()
1270 size_t bytes_read = objfile->ReadSectionData (section_sp.get(), in ReadMemoryFromFileCache()
1277 …error.SetErrorStringWithFormat("error reading data from section %s", section_sp->GetName().GetCStr… in ReadMemoryFromFileCache()
2274 Target::SetSectionLoadAddress (const SectionSP &section_sp, addr_t new_section_load_addr, bool warn… in SetSectionLoadAddress() argument
2276 …d_addr = m_section_load_history.GetSectionLoadAddress (SectionLoadHistory::eStopIDNow, section_sp); in SetSectionLoadAddress()
2285 …if (m_section_load_history.SetSectionLoadAddress (stop_id, section_sp, new_section_load_addr, warn… in SetSectionLoadAddress()
[all …]
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Target/
DSectionLoadList.h58 GetSectionLoadAddress (const lldb::SectionSP &section_sp) const;
64 …SetSectionLoadAddress (const lldb::SectionSP &section_sp, lldb::addr_t load_addr, bool warn_multip…
70 SetSectionUnloaded (const lldb::SectionSP &section_sp, lldb::addr_t load_addr);
76 SetSectionUnloaded (const lldb::SectionSP &section_sp);
DSectionLoadHistory.h62 const lldb::SectionSP &section_sp);
71 const lldb::SectionSP &section_sp,
80 const lldb::SectionSP &section_sp,
88 const lldb::SectionSP &section_sp);
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Core/
DAddress.h136 Address (const lldb::SectionSP &section_sp, lldb::addr_t offset) : in Address() argument
140 if (section_sp) in Address()
141 m_section_wp = section_sp; in Address()
495 SetSection (const lldb::SectionSP &section_sp) in SetSection() argument
497 m_section_wp = section_sp; in SetSection()
DSection.h41 AddSection (const lldb::SectionSP& section_sp);
44 AddUniqueSection (const lldb::SectionSP& section_sp);
82 …ReplaceSection (lldb::user_id_t sect_id, const lldb::SectionSP& section_sp, uint32_t depth = UINT3…
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/Static/
DDynamicLoaderStatic.cpp134 SectionSP section_sp (section_list->GetSectionAtIndex (sect_idx)); in LoadAllImagesAtFileAddresses() local
135 if (section_sp) in LoadAllImagesAtFileAddresses()
137 … if (m_process->GetTarget().SetSectionLoadAddress (section_sp, section_sp->GetFileAddress())) in LoadAllImagesAtFileAddresses()
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/SymbolVendor/ELF/
DSymbolVendorELF.cpp161 … SectionSP section_sp (objfile_section_list->FindSectionByType (section_type, true)); in CreateInstance() local
162 if (section_sp) in CreateInstance()
166 … module_section_list->ReplaceSection (module_section_sp->GetID(), section_sp); in CreateInstance()
168 module_section_list->AddSection (section_sp); in CreateInstance()
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/API/
DSBSection.h90 SBSection (const lldb::SectionSP &section_sp);
96 SetSP(const lldb::SectionSP &section_sp);
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Breakpoint/
DBreakpoint.cpp400 SectionSP section_sp (break_loc->GetAddress().GetSection()); in ModulesChanged() local
401 if (!section_sp || section_sp->GetModule() == module_sp) in ModulesChanged()
471 SectionSP section_sp (break_loc_sp->GetAddress().GetSection()); in ModulesChanged() local
472 if (section_sp && section_sp->GetModule() == module_sp) in ModulesChanged()
DBreakpointLocationList.cpp111 SectionSP section_sp (break_loc->GetAddress().GetSection()); in FindInModule() local
112 if (section_sp && section_sp->GetModule().get() == module) in FindInModule()
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
DObjectFileELF.cpp487 SectionSP section_sp (section_list->GetSectionAtIndex (sect_idx)); in SetLoadAddress() local
489 if (section_sp && section_sp->Test(SHF_ALLOC)) in SetLoadAddress()
491 …if (target.GetSectionLoadList().SetSectionLoadAddress (section_sp, section_sp->GetFileAddress() + … in SetLoadAddress()
1029 … SectionSP section_sp (new Section(GetModule(), // Module to which this section belongs. in CreateSections() local
1041 section_sp->SetIsThreadSpecific (is_thread_specific); in CreateSections()
1042 m_sections_ap->AddSection(section_sp); in CreateSections()
1069 SectionSP section_sp (elf_section_list->FindSectionByType (section_type, true)); in CreateSections() local
1070 if (section_sp) in CreateSections()
1074 … unified_section_list.ReplaceSection (module_section_sp->GetID(), section_sp); in CreateSections()
1076 unified_section_list.AddSection (section_sp); in CreateSections()
[all …]
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Symbol/
DLineEntry.cpp32 const lldb::SectionSP &section_sp, in LineEntry() argument
44 range(section_sp, section_offset, byte_size), in LineEntry()
DFunction.cpp389 SectionSP section_sp (m_range.GetBaseAddress().GetSection()); in CalculateSymbolContextModule() local
390 if (section_sp) in CalculateSymbolContextModule()
391 return section_sp->GetModule(); in CalculateSymbolContextModule()
DObjectFile.cpp347 const SectionSP section_sp (symbol->GetAddress().GetSection()); in GetAddressClass() local
348 if (section_sp) in GetAddressClass()
350 const SectionType section_type = section_sp->GetType(); in GetAddressClass()
DSymbol.cpp56 const lldb::SectionSP &section_sp, in Symbol() argument
75 m_addr_range (section_sp, offset, size), in Symbol()
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Symbol/
DLineEntry.h34 const lldb::SectionSP &section_sp,
DSymbol.h38 const lldb::SectionSP &section_sp,

12