Home
last modified time | relevance | path

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

12

/external/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.cpp594 SectionSP section_sp (section_list->FindSectionByName(const_sect_name)); in FindSection() local
595 if (section_sp) in FindSection()
597 sb_section.SetSP (section_sp); in FindSection()
/external/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 …]
DModule.cpp460 SectionSP section_sp (so_addr.GetSection()); in ResolveSymbolContextForAddress() local
463 if (section_sp && section_sp->GetModule().get() == this) in ResolveSymbolContextForAddress()
1270 lldb::SectionSP section_sp (section_list->GetSectionAtIndex (idx - 1)); in SetSymbolFileFileSpec() local
1271 if (section_sp->GetObjectFile() == obj_file) in SetSymbolFileFileSpec()
1306 SectionSP section_sp = sections->GetSectionAtIndex(sect_idx); in IsLoadedInTarget() local
1307 if (section_sp->GetLoadBaseAddress(target) != LLDB_INVALID_ADDRESS) in IsLoadedInTarget()
1417 SectionSP section_sp (section_list->GetSectionAtIndex (sect_idx)); in SetLoadAddress() local
1419 if (section_sp && !section_sp->IsThreadSpecific()) in SetLoadAddress()
1421 …if (target.GetSectionLoadList().SetSectionLoadAddress (section_sp, section_sp->GetFileAddress() + … in SetLoadAddress()
DSection.cpp313 SectionList::AddSection (const lldb::SectionSP& section_sp) in AddSection() argument
315 assert (section_sp.get()); in AddSection()
317 m_sections.push_back(section_sp); in AddSection()
/external/lldb/source/Target/
DSectionLoadList.cpp131 SectionLoadList::SetSectionUnloaded (const lldb::SectionSP &section_sp) in SetSectionUnloaded() argument
135 if (section_sp) in SetSectionUnloaded()
141 const FileSpec &module_file_spec (section_sp->GetModule()->GetFileSpec()); in SetSectionUnloaded()
144 section_sp.get(), in SetSectionUnloaded()
146 section_sp->GetName().AsCString()); in SetSectionUnloaded()
151 sect_to_addr_collection::iterator sta_pos = m_sect_to_addr.find(section_sp.get()); in SetSectionUnloaded()
167 SectionLoadList::SetSectionUnloaded (const lldb::SectionSP &section_sp, addr_t load_addr) in SetSectionUnloaded() argument
173 const FileSpec &module_file_spec (section_sp->GetModule()->GetFileSpec()); in SetSectionUnloaded()
176 section_sp.get(), in SetSectionUnloaded()
178 section_sp->GetName().AsCString(), in SetSectionUnloaded()
[all …]
/external/lldb/include/lldb/Target/
DSectionLoadList.h53 GetSectionLoadAddress (const lldb::SectionSP &section_sp) const;
59 …SetSectionLoadAddress (const lldb::SectionSP &section_sp, lldb::addr_t load_addr, bool warn_multip…
65 SetSectionUnloaded (const lldb::SectionSP &section_sp, lldb::addr_t load_addr);
71 SetSectionUnloaded (const lldb::SectionSP &section_sp);
/external/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…
/external/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 …process->GetTarget().GetSectionLoadList().SetSectionLoadAddress (section_sp, section_sp->GetFileAd… in LoadAllImagesAtFileAddresses()
/external/lldb/source/Plugins/SymbolVendor/ELF/
DSymbolVendorELF.cpp165 … SectionSP section_sp (objfile_section_list->FindSectionByType (section_type, true)); in CreateInstance() local
166 if (section_sp) in CreateInstance()
170 … module_section_list->ReplaceSection (module_section_sp->GetID(), section_sp); in CreateInstance()
172 module_section_list->AddSection (section_sp); in CreateInstance()
/external/lldb/include/lldb/API/
DSBSection.h90 SBSection (const lldb::SectionSP &section_sp);
96 SetSP(const lldb::SectionSP &section_sp);
/external/lldb/source/Breakpoint/
DBreakpoint.cpp388 SectionSP section_sp (break_loc->GetAddress().GetSection()); in ModulesChanged() local
389 if (!section_sp || section_sp->GetModule() == module_sp) in ModulesChanged()
459 SectionSP section_sp (break_loc_sp->GetAddress().GetSection()); in ModulesChanged() local
460 if (section_sp && section_sp->GetModule() == module_sp) in ModulesChanged()
DBreakpointLocationList.cpp103 SectionSP section_sp (break_loc->GetAddress().GetSection()); in FindInModule() local
104 if (section_sp && section_sp->GetModule().get() == module) in FindInModule()
/external/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
DDynamicLoaderPOSIXDYLD.cpp221 SectionSP section_sp (sections->GetSectionAtIndex(i)); in UpdateLoadedSections() local
222 lldb::addr_t new_load_addr = section_sp->GetFileAddress() + base_addr; in UpdateLoadedSections()
223 lldb::addr_t old_load_addr = load_list.GetSectionLoadAddress(section_sp); in UpdateLoadedSections()
232 load_list.SetSectionLoadAddress(section_sp, new_load_addr); in UpdateLoadedSections()
/external/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
DDynamicLoaderMacOSXDYLD.cpp466 SectionSP section_sp(section_list->FindSectionByName(info.segments[i].name)); in UpdateImageLoadAddress() local
477 if (section_sp) in UpdateImageLoadAddress()
483 … const bool warn_multiple = section_sp->GetName() != g_section_name_LINKEDIT; in UpdateImageLoadAddress()
485 …section_load_addr = m_process->GetTarget().GetSectionLoadList().GetSectionLoadAddress (section_sp); in UpdateImageLoadAddress()
489 …if (m_process->GetTarget().GetSectionLoadList().SetSectionLoadAddress (section_sp, new_section_loa… in UpdateImageLoadAddress()
516 … SectionSP section_sp(section_list->FindSectionByName(info.segments[seg_idx].name)); in UpdateImageLoadAddress() local
518 if (section_sp) in UpdateImageLoadAddress()
521 if (g_pagezero_section_name == section_sp->GetName()) in UpdateImageLoadAddress()
565 SectionSP section_sp(section_list->FindSectionByName(info.segments[i].name)); in UnloadImageLoadAddress() local
566 if (section_sp) in UnloadImageLoadAddress()
[all …]
/external/lldb/source/Plugins/ObjectFile/ELF/
DObjectFileELF.cpp951 … SectionSP section_sp (new Section(GetModule(), // Module to which this section belongs. in CreateSections() local
963 section_sp->SetIsThreadSpecific (is_thread_specific); in CreateSections()
964 m_sections_ap->AddSection(section_sp); in CreateSections()
991 SectionSP section_sp (elf_section_list->FindSectionByType (section_type, true)); in CreateSections() local
992 if (section_sp) in CreateSections()
996 … unified_section_list.ReplaceSection (module_section_sp->GetID(), section_sp); in CreateSections()
998 unified_section_list.AddSection (section_sp); in CreateSections()
1143 lldb::SectionSP section_sp (module_section_list->FindSectionByName (sect_name)); in ParseSymbols() local
1144 if (section_sp && section_sp->GetFileSize()) in ParseSymbols()
1146 symbol_section_sp = section_sp; in ParseSymbols()
/external/lldb/source/Symbol/
DLineEntry.cpp32 const lldb::SectionSP &section_sp, in LineEntry() argument
44 range(section_sp, section_offset, byte_size), in LineEntry()
DFunction.cpp388 SectionSP section_sp (m_range.GetBaseAddress().GetSection()); in CalculateSymbolContextModule() local
389 if (section_sp) in CalculateSymbolContextModule()
390 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.cpp55 const lldb::SectionSP &section_sp, in Symbol() argument
74 m_addr_range (section_sp, offset, size), in Symbol()
DSymtab.cpp977 …SectionSP section_sp (m_objfile->GetSectionList()->FindSectionContainingFileAddress (entry.GetRang… in InitAddressIndexes() local
978 if (section_sp) in InitAddressIndexes()
980 …const lldb::addr_t end_section_file_addr = section_sp->GetFileAddress() + section_sp->GetByteSize(… in InitAddressIndexes()
/external/lldb/include/lldb/Symbol/
DLineEntry.h34 const lldb::SectionSP &section_sp,
DSymbol.h38 const lldb::SectionSP &section_sp,
/external/lldb/source/Plugins/ObjectFile/Mach-O/
DObjectFileMachO.cpp794 SectionSP section_sp (symbol->GetAddress().GetSection()); in GetAddressClass() local
795 if (section_sp) in GetAddressClass()
797 const SectionType section_type = section_sp->GetType(); in GetAddressClass()
1317 SectionSP section_sp(new Section (segment_sp, in CreateSections() local
1334section_sp->SetIsEncrypted (segment_is_encrypted || section_is_encrypted); in CreateSections()
1335 segment_sp->GetChildren().AddSection(section_sp); in CreateSections()
1410 if (!m_section_infos[n_sect].section_sp) in GetSection()
1412 SectionSP section_sp (m_section_list->FindSectionByID (n_sect)); in GetSection() local
1413 m_section_infos[n_sect].section_sp = section_sp; in GetSection()
1414 if (section_sp) in GetSection()
[all …]

12