/freebsd/contrib/llvm-project/lldb/source/API/ |
H A D | SBSection.cpp | 29 SBSection::SBSection(const lldb::SectionSP §ion_sp) { in SBSection() argument 32 if (section_sp) in SBSection() 33 m_opaque_wp = section_sp; in SBSection() 52 SectionSP section_sp(GetSP()); in operator bool() local 53 return section_sp && section_sp->GetModule().get() != nullptr; in operator bool() 59 SectionSP section_sp(GetSP()); in GetName() local 60 if (section_sp) in GetName() 61 return section_sp->GetName().GetCString(); in GetName() 69 SectionSP section_sp(GetSP()); in GetParent() local 70 if (section_sp) { in GetParent() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | Address.cpp | 253 SectionSP section_sp( in ResolveAddressUsingFileSections() local 255 m_section_wp = section_sp; in ResolveAddressUsingFileSections() 256 if (section_sp) { in ResolveAddressUsingFileSections() 257 assert(section_sp->ContainsFileAddress(file_addr)); in ResolveAddressUsingFileSections() 258 m_offset = file_addr - section_sp->GetFileAddress(); in ResolveAddressUsingFileSections() 287 SectionSP section_sp(GetSection()); in GetModule() local 288 if (section_sp) in GetModule() 289 module_sp = section_sp->GetModule(); in GetModule() 294 SectionSP section_sp(GetSection()); in GetFileAddress() local 295 if (section_sp) { in GetFileAddress() [all …]
|
H A D | AddressRange.cpp | 226 const auto section_sp = m_base_addr.GetSection(); in GetDescription() local 227 if (section_sp) { in GetDescription() 228 if (const auto object_file = section_sp->GetObjectFile()) in GetDescription()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/JITLoader/GDB/ |
H A D | JITLoaderGDB.cpp | 235 SectionSP section_sp(section_list.GetSectionAtIndex(i)); in updateSectionLoadAddress() local 236 if (section_sp) { in updateSectionLoadAddress() 237 if (section_sp->IsFake()) { in updateSectionLoadAddress() 240 updateSectionLoadAddress(section_sp->GetChildren(), target, in updateSectionLoadAddress() 247 const lldb::addr_t slide_amount = lower - section_sp->GetFileAddress(); in updateSectionLoadAddress() 248 section_sp->Slide(slide_amount, false); in updateSectionLoadAddress() 249 section_sp->GetChildren().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 in updateSectionLoadAddress() 383 SectionSP section_sp(section_list->GetSectionAtIndex(i)); ReadJITDescriptorImpl() local [all...] |
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | SectionLoadList.cpp | 146 size_t SectionLoadList::SetSectionUnloaded(const lldb::SectionSP §ion_sp) { in SetSectionUnloaded() argument 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() 191 const FileSpec &module_file_spec(section_sp->GetModule()->GetFileSpec()); 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/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() 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() local
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | Address.h | 137 /// \param[in] section_sp 143 Address(const lldb::SectionSP §ion_sp, lldb::addr_t offset) in Address() 144 : m_section_wp(), // Don't init with section_sp in case section_sp is in Address() 147 if (section_sp) 148 m_section_wp = section_sp; 469 /// \param[in] section_sp 473 void SetSection(const lldb::SectionSP §ion_sp) { 474 m_section_wp = section_sp; 140 Address(const lldb::SectionSP & section_sp,lldb::addr_t offset) Address() argument 463 SetSection(const lldb::SectionSP & section_sp) SetSection() argument
|
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() 126 section_sp); in CreateInstance() 128 module_section_list->AddSection(section_sp); in CreateInstance() 122 if (SectionSP section_sp = CreateInstance() local
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/wasm/ |
H A D | SymbolVendorWasm.cpp | 126 if (SectionSP section_sp = in CreateInstance() 131 section_sp); in CreateInstance() 133 module_section_list->AddSection(section_sp); in CreateInstance() 127 if (SectionSP section_sp = CreateInstance() local
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Static/ |
H A D | DynamicLoaderStatic.cpp | 104 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in LoadAllImagesAtFileAddresses() local 105 if (section_sp) { in LoadAllImagesAtFileAddresses() 107 section_sp) != LLDB_INVALID_ADDRESS) { in LoadAllImagesAtFileAddresses()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/ELF/ |
H A D | SymbolVendorELF.cpp | 130 if (SectionSP section_sp = in CreateInstance() 135 section_sp); in CreateInstance() 137 module_section_list->AddSection(section_sp); in CreateInstance() 131 if (SectionSP section_sp = CreateInstance() local
|
/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() 24 if (!section_sp) in LoadSection() 28 section_sp->GetSectionData(data); in LoadSection() 22 auto section_sp = section_list->FindSectionByType(section_type, true); LoadSection() local
|
/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/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/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 | 525 SectionSP section_sp(section_addr.GetSection()); in ModulesChanged() local 531 if (section_sp && section_sp->GetModule() == module_sp) { in ModulesChanged() 573 SectionSP section_sp(break_loc_sp->GetAddress().GetSection()); in ModulesChanged() local 574 if (section_sp && section_sp->GetModule() == module_sp) { in ModulesChanged() 646 SectionSP section_sp = break_loc_sp->GetAddress().GetSection(); in ModuleReplaced() local 647 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 | 310 const SectionSP section_sp(symbol->GetAddressRef().GetSection()); in GetAddressClass() local 311 if (section_sp) { in GetAddressClass() 312 const SectionType section_type = section_sp->GetType(); in GetAddressClass() 645 SectionSP section_sp = section_list->GetSectionAtIndex(i); in GetLoadableData() local 647 target.GetSectionLoadList().GetSectionLoadAddress(section_sp); in GetLoadableData() 651 if (section_sp->GetFileSize() == 0) in GetLoadableData() 654 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()
|