Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/lldb/source/API/
H A DSBSection.cpp32 if (section_sp) in SBSection()
45 return section_sp && section_sp->GetModule().get() != NULL; in IsValid()
50 if (section_sp) in GetName()
58 if (section_sp) { in GetParent()
81 if (section_sp) in GetNumSubSections()
89 if (section_sp) in GetSubSectionAtIndex()
103 if (section_sp) in GetFileAddress()
112 if (section_sp) in GetLoadAddress()
120 if (section_sp) in GetByteSize()
127 if (section_sp) { in GetFileOffset()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Core/
H A DAddress.cpp254 if (section_sp) { in ResolveAddressUsingFileSections()
268 if (section_sp) in GetModule()
275 if (section_sp) { in GetFileAddress()
295 if (section_sp) { in GetLoadAddress()
790 if (section_sp) { in CalculateSymbolContext()
804 if (section_sp) in CalculateSymbolContextModule()
811 if (section_sp) { in CalculateSymbolContextCompileUnit()
825 if (section_sp) { in CalculateSymbolContextFunction()
839 if (section_sp) { in CalculateSymbolContextBlock()
853 if (section_sp) { in CalculateSymbolContextSymbol()
[all …]
H A DDynamicLoader.cpp138 SectionSP section_sp(sections->GetSectionAtIndex(i)); in UnloadSectionsCommon() local
139 target.SetSectionUnloaded(section_sp); in UnloadSectionsCommon()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/JITLoader/GDB/
H A DJITLoaderGDB.cpp222 if (section_sp) { in updateSectionLoadAddress()
223 if (section_sp->IsFake()) { in updateSectionLoadAddress()
234 section_sp->Slide(slide_amount, false); in updateSectionLoadAddress()
236 section_sp->SetByteSize(upper - lower); in updateSectionLoadAddress()
238 vmaddrheuristic += 2 << section_sp->GetLog2Align(); in updateSectionLoadAddress()
240 if (section_sp->GetFileAddress() > vmaddrheuristic) in updateSectionLoadAddress()
241 lower = section_sp->GetFileAddress(); in updateSectionLoadAddress()
244 section_sp->SetFileAddress(symbolfile_addr + in updateSectionLoadAddress()
248 uint64_t upper = lower + section_sp->GetByteSize(); in updateSectionLoadAddress()
254 vmaddrheuristic += section_sp->GetByteSize(); in updateSectionLoadAddress()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DSectionLoadList.cpp137 if (section_sp) { in SetSectionUnloaded()
141 ModuleSP module_sp = section_sp->GetModule(); in SetSectionUnloaded()
145 section_sp->GetModule()->GetFileSpec()); in SetSectionUnloaded()
149 static_cast<void *>(section_sp.get()), module_name.c_str(), in SetSectionUnloaded()
150 section_sp->GetName().AsCString()); in SetSectionUnloaded()
156 m_sect_to_addr.find(section_sp.get()); in SetSectionUnloaded()
171 bool SectionLoadList::SetSectionUnloaded(const lldb::SectionSP &section_sp, in SetSectionUnloaded() argument
176 ModuleSP module_sp = section_sp->GetModule(); in SetSectionUnloaded()
185 __FUNCTION__, static_cast<void *>(section_sp.get()), in SetSectionUnloaded()
186 module_name.c_str(), section_sp->GetName().AsCString(), load_addr); in SetSectionUnloaded()
[all …]
H A DSectionLoadHistory.cpp107 const lldb::SectionSP &section_sp) { in GetSectionLoadAddress() argument
112 return section_load_list->GetSectionLoadAddress(section_sp); in GetSectionLoadAddress()
126 uint32_t stop_id, const lldb::SectionSP &section_sp, addr_t load_addr, in SetSectionLoadAddress() argument
132 return section_load_list->SetSectionLoadAddress(section_sp, load_addr, in SetSectionLoadAddress()
138 const lldb::SectionSP &section_sp) { in SetSectionUnloaded() argument
143 return section_load_list->SetSectionUnloaded(section_sp); in SetSectionUnloaded()
147 const lldb::SectionSP &section_sp, in SetSectionUnloaded() argument
153 return section_load_list->SetSectionUnloaded(section_sp, load_addr); in SetSectionUnloaded()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/
H A DSectionLoadList.h44 lldb::addr_t GetSectionLoadAddress(const lldb::SectionSP &section_sp) const;
49 bool SetSectionLoadAddress(const lldb::SectionSP &section_sp,
56 bool SetSectionUnloaded(const lldb::SectionSP &section_sp,
62 size_t SetSectionUnloaded(const lldb::SectionSP &section_sp);
H A DSectionLoadHistory.h48 const lldb::SectionSP &section_sp);
54 const lldb::SectionSP &section_sp,
61 bool SetSectionUnloaded(uint32_t stop_id, const lldb::SectionSP &section_sp,
68 const lldb::SectionSP &section_sp);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARFDwo.cpp35 SectionSP section_sp(section_list->FindSectionByType(sect_type, true)); in LoadSectionData() local
36 if (section_sp) { in LoadSectionData()
39 data.SetData(m_dwarf_data, section_sp->GetOffset(), in LoadSectionData()
40 section_sp->GetFileSize()); in LoadSectionData()
44 if (m_obj_file->ReadSectionData(section_sp.get(), data) != 0) in LoadSectionData()
H A DSymbolFileDWARFDwp.cpp128 lldb::SectionSP section_sp( in LoadRawSectionData() local
130 if (section_sp) { in LoadRawSectionData()
131 if (m_obj_file->ReadSectionData(section_sp.get(), data) != 0) { in LoadRawSectionData()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/JIT/
H A DObjectFileJIT.cpp217 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in SetLoadAddress() local
218 if (section_sp && section_sp->GetFileSize() > 0 && in SetLoadAddress()
219 !section_sp->IsThreadSpecific()) { in SetLoadAddress()
221 section_sp, section_sp->GetFileAddress() + value)) in SetLoadAddress()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/Static/
H A DDynamicLoaderStatic.cpp111 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in LoadAllImagesAtFileAddresses() local
112 if (section_sp) { in LoadAllImagesAtFileAddresses()
114 section_sp, section_sp->GetFileAddress())) in LoadAllImagesAtFileAddresses()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/
H A DAddress.h162 Address(const lldb::SectionSP &section_sp, lldb::addr_t offset) in Address() argument
166 if (section_sp) in Address()
167 m_section_wp = section_sp; in Address()
495 void SetSection(const lldb::SectionSP &section_sp) { in SetSection() argument
496 m_section_wp = section_sp; in SetSection()
H A DSection.h61 size_t AddSection(const lldb::SectionSP &section_sp);
63 size_t AddUniqueSection(const lldb::SectionSP &section_sp);
90 const lldb::SectionSP &section_sp,
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolVendor/ELF/
H A DSymbolVendorELF.cpp141 SectionSP section_sp( in CreateInstance() local
143 if (section_sp) { in CreateInstance()
148 section_sp); in CreateInstance()
150 module_section_list->AddSection(section_sp); in CreateInstance()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/Breakpad/
H A DSymbolFileBreakpad.cpp202 SectionSP section_sp = list.FindSectionContainingFileAddress(address); in AddSymbols() local
203 if (!section_sp) { in AddSymbols()
215 AddressRange(section_sp, address - section_sp->GetFileAddress(), 0), in AddSymbols()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/API/
H A DSBSection.h93 SBSection(const lldb::SectionSP &section_sp);
97 void SetSP(const lldb::SectionSP &section_sp);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Breakpoint/
H A DBreakpointResolverAddress.cpp74 SectionSP section_sp = m_addr.GetSection(); in SerializeToStructuredData() local
75 if (section_sp) { in SerializeToStructuredData()
76 ModuleSP module_sp = section_sp->GetModule(); in SerializeToStructuredData()
H A DBreakpoint.cpp548 SectionSP section_sp(section_addr.GetSection()); in ModulesChanged() local
554 if (section_sp && section_sp->GetModule() == module_sp) { in ModulesChanged()
600 SectionSP section_sp(break_loc_sp->GetAddress().GetSection()); in ModulesChanged() local
601 if (section_sp && section_sp->GetModule() == module_sp) { in ModulesChanged()
675 SectionSP section_sp = break_loc_sp->GetAddress().GetSection(); in ModuleReplaced() local
676 if (section_sp && section_sp->GetModule() == old_module_sp) { in ModuleReplaced()
H A DBreakpointLocationList.cpp89 SectionSP section_sp(break_loc->GetAddress().GetSection()); in FindInModule() local
90 if (section_sp && section_sp->GetModule().get() == module) { in FindInModule()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DObjectFile.cpp323 const SectionSP section_sp(symbol->GetAddressRef().GetSection()); in GetAddressClass() local
324 if (section_sp) { in GetAddressClass()
325 const SectionType section_type = section_sp->GetType(); in GetAddressClass()
664 SectionSP section_sp = section_list->GetSectionAtIndex(i); in GetLoadableData() local
666 target.GetSectionLoadList().GetSectionLoadAddress(section_sp); in GetLoadableData()
670 if (section_sp->GetFileSize() == 0) in GetLoadableData()
673 section_sp->GetSectionData(section_data); in GetLoadableData()
H A DLineEntry.cpp22 LineEntry::LineEntry(const lldb::SectionSP &section_sp, in LineEntry() argument
28 : range(section_sp, section_offset, byte_size), file(_file), in LineEntry()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
H A DDynamicLoaderHexagonDYLD.cpp228 SectionSP section_sp(sections->GetSectionAtIndex(i)); in UpdateLoadedSections() local
229 lldb::addr_t new_load_addr = section_sp->GetFileAddress() + base_addr; in UpdateLoadedSections()
241 target.SetSectionLoadAddress(section_sp, new_load_addr); in UpdateLoadedSections()
258 SectionSP section_sp(sections->GetSectionAtIndex(i)); in UnloadSections() local
259 target.SetSectionUnloaded(section_sp); in UnloadSections()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/Breakpad/
H A DObjectFileBreakpad.cpp286 auto section_sp = std::make_shared<Section>( in CreateSections() local
291 m_sections_ap->AddSection(section_sp); in CreateSections()
292 unified_section_list.AddSection(section_sp); in CreateSections()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/minidump/
H A DProcessMinidump.cpp65 lldb::SectionSP section_sp(new Section( in CreateImageSection() local
78 section_sp->SetPermissions(ePermissionsExecutable | ePermissionsReadable); in CreateImageSection()
79 GetSectionList()->AddSection(section_sp); in CreateImageSection()
81 section_sp, module->base_of_image); in CreateImageSection()

12