| /openbsd-src/gnu/llvm/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 …]
|
| /openbsd-src/gnu/llvm/lldb/source/Core/ |
| H A D | Address.cpp | 251 SectionSP section_sp( in ResolveAddressUsingFileSections() local 253 m_section_wp = section_sp; in ResolveAddressUsingFileSections() 254 if (section_sp) { in ResolveAddressUsingFileSections() 255 assert(section_sp->ContainsFileAddress(file_addr)); in ResolveAddressUsingFileSections() 256 m_offset = file_addr - section_sp->GetFileAddress(); in ResolveAddressUsingFileSections() 285 SectionSP section_sp(GetSection()); in GetModule() local 286 if (section_sp) in GetModule() 287 module_sp = section_sp->GetModule(); in GetModule() 292 SectionSP section_sp(GetSection()); in GetFileAddress() local 293 if (section_sp) { in GetFileAddress() [all …]
|
| H A D | Section.cpp | 469 size_t SectionList::AddSection(const lldb::SectionSP §ion_sp) { in AddSection() argument 470 if (section_sp) { in AddSection() 472 m_sections.push_back(section_sp); in AddSection() 650 for (const auto §ion_sp : m_sections) in Dump() local 651 section_sp->Dump(s, indent, target_has_loaded_sections ? target : nullptr, in Dump()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/JITLoader/GDB/ |
| H A D | JITLoaderGDB.cpp | 233 SectionSP section_sp(section_list.GetSectionAtIndex(i)); in updateSectionLoadAddress() local 234 if (section_sp) { in updateSectionLoadAddress() 235 if (section_sp->IsFake()) { in updateSectionLoadAddress() 238 updateSectionLoadAddress(section_sp->GetChildren(), target, in updateSectionLoadAddress() 245 const lldb::addr_t slide_amount = lower - section_sp->GetFileAddress(); in updateSectionLoadAddress() 246 section_sp->Slide(slide_amount, false); in updateSectionLoadAddress() 247 section_sp->GetChildren().Slide(-slide_amount, false); in updateSectionLoadAddress() 248 section_sp->SetByteSize(upper - lower); in updateSectionLoadAddress() 250 vmaddrheuristic += 2 << section_sp->GetLog2Align(); in updateSectionLoadAddress() 252 if (section_sp->GetFileAddress() > vmaddrheuristic) in updateSectionLoadAddress() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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);
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ObjectFile/JIT/ |
| H A D | ObjectFileJIT.cpp | 191 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in SetLoadAddress() local 192 if (section_sp && section_sp->GetFileSize() > 0 && in SetLoadAddress() 193 !section_sp->IsThreadSpecific()) { in SetLoadAddress() 195 section_sp, section_sp->GetFileAddress() + value)) in SetLoadAddress()
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Core/ |
| H A D | Address.h | 140 Address(const lldb::SectionSP §ion_sp, lldb::addr_t offset) in Address() argument 144 if (section_sp) in Address() 145 m_section_wp = section_sp; in Address() 463 void SetSection(const lldb::SectionSP §ion_sp) { in SetSection() argument 464 m_section_wp = section_sp; in SetSection()
|
| H A D | Section.h | 50 size_t AddSection(const lldb::SectionSP §ion_sp); 52 size_t AddUniqueSection(const lldb::SectionSP §ion_sp); 80 const lldb::SectionSP §ion_sp,
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolVendor/wasm/ |
| H A D | SymbolVendorWasm.cpp | 124 if (SectionSP section_sp = in CreateInstance() local 129 section_sp); in CreateInstance() 131 module_section_list->AddSection(section_sp); in CreateInstance()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolVendor/PECOFF/ |
| H A D | SymbolVendorPECOFF.cpp | 122 if (SectionSP section_sp = in CreateInstance() local 127 section_sp); in CreateInstance() 129 module_section_list->AddSection(section_sp); in CreateInstance()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolVendor/ELF/ |
| H A D | SymbolVendorELF.cpp | 128 if (SectionSP section_sp = in CreateInstance() local 133 section_sp); in CreateInstance() 135 module_section_list->AddSection(section_sp); in CreateInstance()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFContext.cpp | 22 auto section_sp = section_list->FindSectionByType(section_type, true); in LoadSection() local 23 if (!section_sp) in LoadSection() 27 section_sp->GetSectionData(data); in LoadSection()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/API/ |
| H A D | SBSection.h | 96 SBSection(const lldb::SectionSP §ion_sp); 100 void SetSP(const lldb::SectionSP §ion_sp);
|
| /openbsd-src/gnu/llvm/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 ModuleSP module_sp = section_sp->GetModule(); in SerializeToStructuredData()
|
| H A D | Breakpoint.cpp | 539 SectionSP section_sp(section_addr.GetSection()); in ModulesChanged() local 545 if (section_sp && section_sp->GetModule() == module_sp) { in ModulesChanged() 589 SectionSP section_sp(break_loc_sp->GetAddress().GetSection()); in ModulesChanged() local 590 if (section_sp && section_sp->GetModule() == module_sp) { in ModulesChanged() 662 SectionSP section_sp = break_loc_sp->GetAddress().GetSection(); in ModuleReplaced() local 663 if (section_sp && section_sp->GetModule() == old_module_sp) { in ModuleReplaced()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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() 634 SectionSP section_sp = section_list->GetSectionAtIndex(i); in GetLoadableData() local 636 target.GetSectionLoadList().GetSectionLoadAddress(section_sp); in GetLoadableData() 640 if (section_sp->GetFileSize() == 0) in GetLoadableData() 643 section_sp->GetSectionData(section_data); in GetLoadableData()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/ |
| H A D | DynamicLoaderDarwin.cpp | 259 SectionSP section_sp( in UpdateImageLoadAddress() local 269 if (section_sp) { in UpdateImageLoadAddress() 275 section_sp->GetName() != g_section_name_LINKEDIT; in UpdateImageLoadAddress() 278 section_sp, new_section_load_addr, warn_multiple); in UpdateImageLoadAddress() 292 SectionSP section_sp( in UpdateImageLoadAddress() local 295 if (section_sp) { in UpdateImageLoadAddress() 297 if (g_pagezero_section_name == section_sp->GetName()) { in UpdateImageLoadAddress() 331 SectionSP section_sp( in UnloadModuleSections() local 333 if (section_sp) { in UnloadModuleSections() 337 section_sp, old_section_load_addr)) in UnloadModuleSections()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/minidump/ |
| H A D | ProcessMinidump.cpp | 92 auto section_sp = std::make_shared<Section>( in CreateSections() local 96 section_sp->SetPermissions(ePermissionsReadable | ePermissionsExecutable); in CreateSections() 97 m_sections_up->AddSection(section_sp); in CreateSections() 98 unified_section_list.AddSection(std::move(section_sp)); in CreateSections() 421 SectionSP section_sp = sections->GetSectionAtIndex(i); in BuildMemoryRegions() local 422 addr_t load_addr = load_list.GetSectionLoadAddress(section_sp); in BuildMemoryRegions() 426 section_sp->GetByteSize()); in BuildMemoryRegions() 434 to_add.back().SetLLDBPermissions(section_sp->GetPermissions()); in BuildMemoryRegions()
|