/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBSection.cpp | 32 if (section_sp) in SBSection() 53 return section_sp && section_sp->GetModule().get() != nullptr; in operator bool() 60 if (section_sp) in GetName() 70 if (section_sp) { in GetParent() 97 if (section_sp) in GetNumSubSections() 107 if (section_sp) in GetSubSectionAtIndex() 123 if (section_sp) in GetFileAddress() 134 if (section_sp) in GetLoadAddress() 144 if (section_sp) in GetByteSize() 168 if (section_sp) in GetFileByteSize() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | Address.cpp | 256 if (section_sp) { in ResolveAddressUsingFileSections() 288 if (section_sp) in GetModule() 295 if (section_sp) { in GetFileAddress() 315 if (section_sp) { in GetLoadAddress() 838 if (section_sp) { in CalculateSymbolContext() 852 if (section_sp) in CalculateSymbolContextModule() 859 if (section_sp) { in CalculateSymbolContextCompileUnit() 873 if (section_sp) { in CalculateSymbolContextFunction() 887 if (section_sp) { in CalculateSymbolContextBlock() 901 if (section_sp) { in CalculateSymbolContextSymbol() [all …]
|
H A D | Section.cpp | 475 size_t SectionList::AddSection(const lldb::SectionSP §ion_sp) { in AddSection() argument 476 if (section_sp) { in AddSection() 478 m_sections.push_back(section_sp); in AddSection() 656 for (const auto §ion_sp : m_sections) in Dump() local 657 section_sp->Dump(s, indent, target_has_loaded_sections ? target : nullptr, in Dump()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/JITLoader/GDB/ |
H A D | JITLoaderGDB.cpp | 236 if (section_sp) { in updateSectionLoadAddress() 237 if (section_sp->IsFake()) { in updateSectionLoadAddress() 248 section_sp->Slide(slide_amount, false); in updateSectionLoadAddress() 250 section_sp->SetByteSize(upper - lower); in updateSectionLoadAddress() 252 vmaddrheuristic += 2 << section_sp->GetLog2Align(); in updateSectionLoadAddress() 254 if (section_sp->GetFileAddress() > vmaddrheuristic) in updateSectionLoadAddress() 255 lower = section_sp->GetFileAddress(); in updateSectionLoadAddress() 258 section_sp->SetFileAddress(symbolfile_addr + in updateSectionLoadAddress() 262 uint64_t upper = lower + section_sp->GetByteSize(); in updateSectionLoadAddress() 268 vmaddrheuristic += section_sp->GetByteSize(); in updateSectionLoadAddress() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | SectionLoadList.cpp | 149 if (section_sp) { in SetSectionUnloaded() 153 ModuleSP module_sp = section_sp->GetModule(); in SetSectionUnloaded() 157 section_sp->GetModule()->GetFileSpec()); in SetSectionUnloaded() 161 static_cast<void *>(section_sp.get()), module_name.c_str(), in SetSectionUnloaded() 162 section_sp->GetName().AsCString()); in SetSectionUnloaded() 168 m_sect_to_addr.find(section_sp.get()); in SetSectionUnloaded() 183 bool SectionLoadList::SetSectionUnloaded(const lldb::SectionSP §ion_sp, in SetSectionUnloaded() argument 188 ModuleSP module_sp = section_sp->GetModule(); in SetSectionUnloaded() 198 __FUNCTION__, static_cast<void *>(section_sp.get()), in SetSectionUnloaded() 199 module_name.c_str(), section_sp->GetName().AsCString(), load_addr); in SetSectionUnloaded() [all …]
|
H A D | SectionLoadHistory.cpp | 106 const lldb::SectionSP §ion_sp) { in GetSectionLoadAddress() argument 111 return section_load_list->GetSectionLoadAddress(section_sp); in GetSectionLoadAddress() 125 uint32_t stop_id, const lldb::SectionSP §ion_sp, addr_t load_addr, in SetSectionLoadAddress() argument 131 return section_load_list->SetSectionLoadAddress(section_sp, load_addr, in SetSectionLoadAddress() 137 const lldb::SectionSP §ion_sp) { in SetSectionUnloaded() argument 142 return section_load_list->SetSectionUnloaded(section_sp); in SetSectionUnloaded() 146 const lldb::SectionSP §ion_sp, in SetSectionUnloaded() argument 152 return section_load_list->SetSectionUnloaded(section_sp, load_addr); in SetSectionUnloaded()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | SectionLoadList.h | 41 lldb::addr_t GetSectionLoadAddress(const lldb::SectionSP §ion_sp) const; 46 bool SetSectionLoadAddress(const lldb::SectionSP §ion_sp, 53 bool SetSectionUnloaded(const lldb::SectionSP §ion_sp, 59 size_t SetSectionUnloaded(const lldb::SectionSP §ion_sp);
|
H A D | SectionLoadHistory.h | 45 const lldb::SectionSP §ion_sp); 51 const lldb::SectionSP §ion_sp, 58 bool SetSectionUnloaded(uint32_t stop_id, const lldb::SectionSP §ion_sp, 65 const lldb::SectionSP §ion_sp);
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Static/ |
H A D | DynamicLoaderStatic.cpp | 107 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in LoadAllImagesAtFileAddresses() local 108 if (section_sp) { in LoadAllImagesAtFileAddresses() 114 .GetSectionLoadAddress(section_sp) != in LoadAllImagesAtFileAddresses() 119 section_sp, section_sp->GetFileAddress())) in LoadAllImagesAtFileAddresses()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Placeholder/ |
H A D | ObjectFilePlaceholder.cpp | 39 auto section_sp = std::make_shared<lldb_private::Section>( in CreateSections() local 44 section_sp->SetPermissions(ePermissionsReadable | ePermissionsExecutable); in CreateSections() 45 m_sections_up->AddSection(section_sp); in CreateSections() 46 unified_section_list.AddSection(std::move(section_sp)); in CreateSections()
|
/freebsd/contrib/llvm-project/lldb/source/Expression/ |
H A D | ObjectFileJIT.cpp | 178 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in SetLoadAddress() local 179 if (section_sp && section_sp->GetFileSize() > 0 && in SetLoadAddress() 180 !section_sp->IsThreadSpecific()) { in SetLoadAddress() 182 section_sp, section_sp->GetFileAddress() + value)) in SetLoadAddress()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | Address.h | 143 Address(const lldb::SectionSP §ion_sp, lldb::addr_t offset) in Address() argument 147 if (section_sp) in Address() 148 m_section_wp = section_sp; in Address() 473 void SetSection(const lldb::SectionSP §ion_sp) { in SetSection() argument 474 m_section_wp = section_sp; in SetSection()
|
H A D | Section.h | 51 size_t AddSection(const lldb::SectionSP §ion_sp); 53 size_t AddUniqueSection(const lldb::SectionSP §ion_sp); 81 const lldb::SectionSP §ion_sp,
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/PECOFF/ |
H A D | SymbolVendorPECOFF.cpp | 121 if (SectionSP section_sp = in CreateInstance() local 126 section_sp); in CreateInstance() 128 module_section_list->AddSection(section_sp); in CreateInstance()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/wasm/ |
H A D | SymbolVendorWasm.cpp | 126 if (SectionSP section_sp = in CreateInstance() local 131 section_sp); in CreateInstance() 133 module_section_list->AddSection(section_sp); in CreateInstance()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/ELF/ |
H A D | SymbolVendorELF.cpp | 130 if (SectionSP section_sp = in CreateInstance() local 135 section_sp); in CreateInstance() 137 module_section_list->AddSection(section_sp); in CreateInstance()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFContext.cpp | 23 auto section_sp = section_list->FindSectionByType(section_type, true); in LoadSection() local 24 if (!section_sp) in LoadSection() 28 section_sp->GetSectionData(data); in LoadSection()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/API/ |
H A D | SBSection.h | 96 SBSection(const lldb::SectionSP §ion_sp); 100 void SetSP(const lldb::SectionSP §ion_sp);
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/ |
H A D | ObjectFileWasm.cpp | 327 SectionSP section_sp( in CreateSections() local 341 m_sections_up->AddSection(section_sp); in CreateSections() 342 unified_section_list.AddSection(section_sp); in CreateSections() 380 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in SetLoadAddress() local 382 section_sp, load_address | section_sp->GetFileOffset())) { in SetLoadAddress()
|
/freebsd/contrib/llvm-project/lldb/source/Breakpoint/ |
H A D | BreakpointResolverAddress.cpp | 66 SectionSP section_sp = m_addr.GetSection(); in SerializeToStructuredData() local 67 if (section_sp) { in SerializeToStructuredData() 68 if (ModuleSP module_sp = section_sp->GetModule()) { in SerializeToStructuredData()
|
H A D | Breakpoint.cpp | 528 SectionSP section_sp(section_addr.GetSection()); in ModulesChanged() local 534 if (section_sp && section_sp->GetModule() == module_sp) { in ModulesChanged() 576 SectionSP section_sp(break_loc_sp->GetAddress().GetSection()); in ModulesChanged() local 577 if (section_sp && section_sp->GetModule() == module_sp) { in ModulesChanged() 649 SectionSP section_sp = break_loc_sp->GetAddress().GetSection(); in ModuleReplaced() local 650 if (section_sp && section_sp->GetModule() == old_module_sp) { in ModuleReplaced()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/ |
H A D | ObjectFileBreakpad.cpp | 140 auto section_sp = std::make_shared<Section>( in CreateSections() local 145 m_sections_up->AddSection(section_sp); in CreateSections() 146 unified_section_list.AddSection(section_sp); in CreateSections()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/ |
H A D | DynamicLoaderHexagonDYLD.cpp | 221 SectionSP section_sp(sections->GetSectionAtIndex(i)); in UpdateLoadedSections() local 222 lldb::addr_t new_load_addr = section_sp->GetFileAddress() + base_addr; in UpdateLoadedSections() 234 target.SetSectionLoadAddress(section_sp, new_load_addr); in UpdateLoadedSections() 251 SectionSP section_sp(sections->GetSectionAtIndex(i)); in UnloadSections() local 252 target.SetSectionUnloaded(section_sp); in UnloadSections()
|
/freebsd/contrib/llvm-project/lldb/source/Symbol/ |
H A D | ObjectFile.cpp | 301 const SectionSP section_sp(symbol->GetAddressRef().GetSection()); in GetAddressClass() local 302 if (section_sp) { in GetAddressClass() 303 const SectionType section_type = section_sp->GetType(); in GetAddressClass() 636 SectionSP section_sp = section_list->GetSectionAtIndex(i); in GetLoadableData() local 638 target.GetSectionLoadList().GetSectionLoadAddress(section_sp); in GetLoadableData() 642 if (section_sp->GetFileSize() == 0) in GetLoadableData() 645 section_sp->GetSectionData(section_data); in GetLoadableData()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/JSON/ |
H A D | ObjectFileJSON.cpp | 184 auto section_sp = std::make_shared<Section>( in CreateSections() local 188 m_sections_up->AddSection(section_sp); in CreateSections() 189 unified_section_list.AddSection(section_sp); in CreateSections()
|