/external/llvm-project/lldb/source/API/ |
D | SBSection.cpp | 31 SBSection::SBSection(const lldb::SectionSP §ion_sp) in SBSection() argument 35 if (section_sp) in SBSection() 36 m_opaque_wp = section_sp; in SBSection() 56 SectionSP section_sp(GetSP()); in operator bool() local 57 return section_sp && section_sp->GetModule().get() != nullptr; in operator bool() 63 SectionSP section_sp(GetSP()); in GetName() local 64 if (section_sp) in GetName() 65 return section_sp->GetName().GetCString(); in GetName() 73 SectionSP section_sp(GetSP()); in GetParent() local 74 if (section_sp) { in GetParent() [all …]
|
/external/llvm-project/lldb/source/Core/ |
D | Address.cpp | 250 SectionSP section_sp( in ResolveAddressUsingFileSections() local 252 m_section_wp = section_sp; in ResolveAddressUsingFileSections() 253 if (section_sp) { in ResolveAddressUsingFileSections() 254 assert(section_sp->ContainsFileAddress(file_addr)); in ResolveAddressUsingFileSections() 255 m_offset = file_addr - section_sp->GetFileAddress(); in ResolveAddressUsingFileSections() 284 SectionSP section_sp(GetSection()); in GetModule() local 285 if (section_sp) in GetModule() 286 module_sp = section_sp->GetModule(); in GetModule() 291 SectionSP section_sp(GetSection()); in GetFileAddress() local 292 if (section_sp) { in GetFileAddress() [all …]
|
D | Section.cpp | 407 size_t SectionList::AddSection(const lldb::SectionSP §ion_sp) { in AddSection() argument 408 if (section_sp) { in AddSection() 410 m_sections.push_back(section_sp); in AddSection() 588 for (const auto §ion_sp : m_sections) in Dump() local 589 section_sp->Dump(s, indent, target_has_loaded_sections ? target : nullptr, in Dump()
|
/external/llvm-project/lldb/source/Plugins/JITLoader/GDB/ |
D | JITLoaderGDB.cpp | 236 SectionSP section_sp(section_list.GetSectionAtIndex(i)); in updateSectionLoadAddress() local 237 if (section_sp) { in updateSectionLoadAddress() 238 if (section_sp->IsFake()) { in updateSectionLoadAddress() 241 updateSectionLoadAddress(section_sp->GetChildren(), target, in updateSectionLoadAddress() 248 const lldb::addr_t slide_amount = lower - section_sp->GetFileAddress(); in updateSectionLoadAddress() 249 section_sp->Slide(slide_amount, false); in updateSectionLoadAddress() 250 section_sp->GetChildren().Slide(-slide_amount, false); in updateSectionLoadAddress() 251 section_sp->SetByteSize(upper - lower); in updateSectionLoadAddress() 253 vmaddrheuristic += 2 << section_sp->GetLog2Align(); in updateSectionLoadAddress() 255 if (section_sp->GetFileAddress() > vmaddrheuristic) in updateSectionLoadAddress() [all …]
|
/external/llvm-project/lldb/source/Target/ |
D | SectionLoadList.cpp | 135 size_t SectionLoadList::SetSectionUnloaded(const lldb::SectionSP §ion_sp) { in SetSectionUnloaded() argument 138 if (section_sp) { in SetSectionUnloaded() 142 ModuleSP module_sp = section_sp->GetModule(); in SetSectionUnloaded() 146 section_sp->GetModule()->GetFileSpec()); in SetSectionUnloaded() 150 static_cast<void *>(section_sp.get()), module_name.c_str(), in SetSectionUnloaded() 151 section_sp->GetName().AsCString()); in SetSectionUnloaded() 157 m_sect_to_addr.find(section_sp.get()); in SetSectionUnloaded() 172 bool SectionLoadList::SetSectionUnloaded(const lldb::SectionSP §ion_sp, in SetSectionUnloaded() argument 177 ModuleSP module_sp = section_sp->GetModule(); in SetSectionUnloaded() 180 const FileSpec &module_file_spec(section_sp->GetModule()->GetFileSpec()); in SetSectionUnloaded() [all …]
|
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()
|
/external/llvm-project/lldb/include/lldb/Target/ |
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);
|
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);
|
/external/llvm-project/lldb/source/Plugins/ObjectFile/JIT/ |
D | ObjectFileJIT.cpp | 219 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in SetLoadAddress() local 220 if (section_sp && section_sp->GetFileSize() > 0 && in SetLoadAddress() 221 !section_sp->IsThreadSpecific()) { in SetLoadAddress() 223 section_sp, section_sp->GetFileAddress() + value)) in SetLoadAddress()
|
/external/llvm-project/lldb/include/lldb/Core/ |
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() 450 void SetSection(const lldb::SectionSP §ion_sp) { in SetSection() argument 451 m_section_wp = section_sp; in SetSection()
|
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,
|
/external/llvm-project/lldb/source/Plugins/DynamicLoader/Static/ |
D | DynamicLoaderStatic.cpp | 110 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in LoadAllImagesAtFileAddresses() local 111 if (section_sp) { in LoadAllImagesAtFileAddresses() 113 section_sp, section_sp->GetFileAddress())) in LoadAllImagesAtFileAddresses()
|
/external/llvm-project/lldb/source/Plugins/SymbolVendor/wasm/ |
D | SymbolVendorWasm.cpp | 129 if (SectionSP section_sp = in CreateInstance() local 134 section_sp); in CreateInstance() 136 module_section_list->AddSection(section_sp); in CreateInstance()
|
/external/llvm-project/lldb/unittests/Symbol/ |
D | TestDWARFCallFrameInfo.cpp | 227 auto section_sp = list->FindSectionByType(type == DWARFCallFrameInfo::EH in TestBasic() local 231 ASSERT_NE(nullptr, section_sp); in TestBasic() 233 DWARFCallFrameInfo cfi(*module_sp->GetObjectFile(), section_sp, type); in TestBasic()
|
/external/llvm-project/lldb/source/Plugins/SymbolVendor/ELF/ |
D | SymbolVendorELF.cpp | 134 if (SectionSP section_sp = in CreateInstance() local 139 section_sp); in CreateInstance() 141 module_section_list->AddSection(section_sp); in CreateInstance()
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
D | DWARFContext.cpp | 21 auto section_sp = section_list->FindSectionByType(section_type, true); in LoadSection() local 22 if (!section_sp) in LoadSection() 26 section_sp->GetSectionData(data); in LoadSection()
|
/external/llvm-project/lldb/include/lldb/API/ |
D | SBSection.h | 90 SBSection(const lldb::SectionSP §ion_sp); 94 void SetSP(const lldb::SectionSP §ion_sp);
|
/external/llvm-project/lldb/source/Plugins/ObjectFile/wasm/ |
D | ObjectFileWasm.cpp | 315 SectionSP section_sp( in CreateSections() local 329 m_sections_up->AddSection(section_sp); in CreateSections() 330 unified_section_list.AddSection(section_sp); in CreateSections() 368 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in SetLoadAddress() local 370 section_sp, load_address | section_sp->GetFileOffset())) { in SetLoadAddress()
|
/external/llvm-project/lldb/source/Breakpoint/ |
D | BreakpointResolverAddress.cpp | 69 SectionSP section_sp = m_addr.GetSection(); in SerializeToStructuredData() local 70 if (section_sp) { in SerializeToStructuredData() 71 ModuleSP module_sp = section_sp->GetModule(); in SerializeToStructuredData()
|
D | Breakpoint.cpp | 549 SectionSP section_sp(section_addr.GetSection()); in ModulesChanged() local 555 if (section_sp && section_sp->GetModule() == module_sp) { in ModulesChanged() 601 SectionSP section_sp(break_loc_sp->GetAddress().GetSection()); in ModulesChanged() local 602 if (section_sp && section_sp->GetModule() == module_sp) { in ModulesChanged() 676 SectionSP section_sp = break_loc_sp->GetAddress().GetSection(); in ModuleReplaced() local 677 if (section_sp && section_sp->GetModule() == old_module_sp) { in ModuleReplaced()
|
/external/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/ |
D | ObjectFileBreakpad.cpp | 143 auto section_sp = std::make_shared<Section>( in CreateSections() local 148 m_sections_up->AddSection(section_sp); in CreateSections() 149 unified_section_list.AddSection(section_sp); in CreateSections()
|
/external/llvm-project/lldb/source/Symbol/ |
D | ObjectFile.cpp | 322 const SectionSP section_sp(symbol->GetAddressRef().GetSection()); in GetAddressClass() local 323 if (section_sp) { in GetAddressClass() 324 const SectionType section_type = section_sp->GetType(); in GetAddressClass() 661 SectionSP section_sp = section_list->GetSectionAtIndex(i); in GetLoadableData() local 663 target.GetSectionLoadList().GetSectionLoadAddress(section_sp); in GetLoadableData() 667 if (section_sp->GetFileSize() == 0) in GetLoadableData() 670 section_sp->GetSectionData(section_data); in GetLoadableData()
|
/external/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/ |
D | DynamicLoaderHexagonDYLD.cpp | 231 SectionSP section_sp(sections->GetSectionAtIndex(i)); in UpdateLoadedSections() local 232 lldb::addr_t new_load_addr = section_sp->GetFileAddress() + base_addr; in UpdateLoadedSections() 244 target.SetSectionLoadAddress(section_sp, new_load_addr); in UpdateLoadedSections() 261 SectionSP section_sp(sections->GetSectionAtIndex(i)); in UnloadSections() local 262 target.SetSectionUnloaded(section_sp); in UnloadSections()
|
/external/llvm-project/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/ |
D | DynamicLoaderDarwin.cpp | 262 SectionSP section_sp( in UpdateImageLoadAddress() local 272 if (section_sp) { in UpdateImageLoadAddress() 278 section_sp->GetName() != g_section_name_LINKEDIT; in UpdateImageLoadAddress() 281 section_sp, new_section_load_addr, warn_multiple); in UpdateImageLoadAddress() 295 SectionSP section_sp( in UpdateImageLoadAddress() local 298 if (section_sp) { in UpdateImageLoadAddress() 300 if (g_pagezero_section_name == section_sp->GetName()) { in UpdateImageLoadAddress() 334 SectionSP section_sp( in UnloadModuleSections() local 336 if (section_sp) { in UnloadModuleSections() 340 section_sp, old_section_load_addr)) in UnloadModuleSections()
|
/external/llvm-project/lldb/source/Plugins/Process/minidump/ |
D | ProcessMinidump.cpp | 89 auto section_sp = std::make_shared<Section>( in CreateSections() local 93 section_sp->SetPermissions(ePermissionsReadable | ePermissionsExecutable); in CreateSections() 94 m_sections_up->AddSection(section_sp); in CreateSections() 95 unified_section_list.AddSection(std::move(section_sp)); in CreateSections() 425 SectionSP section_sp = sections->GetSectionAtIndex(i); in BuildMemoryRegions() local 426 addr_t load_addr = load_list.GetSectionLoadAddress(section_sp); in BuildMemoryRegions() 430 section_sp->GetByteSize()); in BuildMemoryRegions() 438 to_add.back().SetLLDBPermissions(section_sp->GetPermissions()); in BuildMemoryRegions()
|