Searched refs:section_sp (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/lldb/source/API/
H A DSBSection.cpp31 SBSection::SBSection(const lldb::SectionSP &section_sp) argument
32 : m_opaque_wp() // Don't init with section_sp otherwise this will throw if
33 // section_sp doesn't contain a valid Section *
35 if (section_sp)
36 m_opaque_wp = section_sp;
56 SectionSP section_sp(GetSP());
57 return section_sp && section_sp->GetModule().get() != nullptr;
63 SectionSP section_sp(GetSP());
64 if (section_sp)
120 SetSP(const lldb::SectionSP &section_sp) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Target/
H A DSectionLoadHistory.h45 const lldb::SectionSP &section_sp);
51 const lldb::SectionSP &section_sp,
58 bool SetSectionUnloaded(uint32_t stop_id, const lldb::SectionSP &section_sp,
65 const lldb::SectionSP &section_sp);
H A DSectionLoadList.h41 lldb::addr_t GetSectionLoadAddress(const lldb::SectionSP &section_sp) const;
46 bool SetSectionLoadAddress(const lldb::SectionSP &section_sp,
53 bool SetSectionUnloaded(const lldb::SectionSP &section_sp,
59 size_t SetSectionUnloaded(const lldb::SectionSP &section_sp);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Target/
H A DSectionLoadList.cpp135 size_t SectionLoadList::SetSectionUnloaded(const lldb::SectionSP &section_sp) { argument
138 if (section_sp) {
142 ModuleSP module_sp = section_sp->GetModule();
146 section_sp->GetModule()->GetFileSpec());
150 static_cast<void *>(section_sp.get()), module_name.c_str(),
151 section_sp->GetName().AsCString());
157 m_sect_to_addr.find(section_sp.get());
172 bool SectionLoadList::SetSectionUnloaded(const lldb::SectionSP &section_sp, argument
177 ModuleSP module_sp = section_sp->GetModule();
180 const FileSpec &module_file_spec(section_sp
[all...]
H A DSectionLoadHistory.cpp106 const lldb::SectionSP &section_sp) {
111 return section_load_list->GetSectionLoadAddress(section_sp);
125 uint32_t stop_id, const lldb::SectionSP &section_sp, addr_t load_addr,
131 return section_load_list->SetSectionLoadAddress(section_sp, load_addr,
137 const lldb::SectionSP &section_sp) {
142 return section_load_list->SetSectionUnloaded(section_sp);
146 const lldb::SectionSP &section_sp,
152 return section_load_list->SetSectionUnloaded(section_sp, load_addr);
105 GetSectionLoadAddress(uint32_t stop_id, const lldb::SectionSP &section_sp) argument
124 SetSectionLoadAddress( uint32_t stop_id, const lldb::SectionSP &section_sp, addr_t load_addr, bool warn_multiple) argument
136 SetSectionUnloaded(uint32_t stop_id, const lldb::SectionSP &section_sp) argument
145 SetSectionUnloaded(uint32_t stop_id, const lldb::SectionSP &section_sp, addr_t load_addr) argument
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/JITLoader/GDB/
H A DJITLoaderGDB.cpp236 SectionSP section_sp(section_list.GetSectionAtIndex(i));
237 if (section_sp) {
238 if (section_sp->IsFake()) {
241 updateSectionLoadAddress(section_sp->GetChildren(), target,
248 const lldb::addr_t slide_amount = lower - section_sp->GetFileAddress();
249 section_sp->Slide(slide_amount, false);
250 section_sp->GetChildren().Slide(-slide_amount, false);
251 section_sp->SetByteSize(upper - lower);
253 vmaddrheuristic += 2 << section_sp->GetLog2Align();
255 if (section_sp
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Core/
H A DAddress.cpp250 SectionSP section_sp(
252 m_section_wp = section_sp;
253 if (section_sp) {
254 assert(section_sp->ContainsFileAddress(file_addr));
255 m_offset = file_addr - section_sp->GetFileAddress();
284 SectionSP section_sp(GetSection());
285 if (section_sp)
286 module_sp = section_sp->GetModule();
291 SectionSP section_sp(GetSection());
292 if (section_sp) {
[all...]
H A DDynamicLoader.cpp135 SectionSP section_sp(sections->GetSectionAtIndex(i));
136 target.SetSectionUnloaded(section_sp);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Static/
H A DDynamicLoaderStatic.cpp100 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx));
101 if (section_sp) {
103 section_sp, section_sp->GetFileAddress()))
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/API/
H A DSBSection.h90 SBSection(const lldb::SectionSP &section_sp);
94 void SetSP(const lldb::SectionSP &section_sp);
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Core/
H A DAddress.h134 /// \param[in] section_sp
140 Address(const lldb::SectionSP &section_sp, lldb::addr_t offset) argument
141 : m_section_wp(), // Don't init with section_sp in case section_sp is
144 if (section_sp)
145 m_section_wp = section_sp;
446 /// \param[in] section_sp
450 void SetSection(const lldb::SectionSP &section_sp) { argument
451 m_section_wp = section_sp;
H A DSection.h51 size_t AddSection(const lldb::SectionSP &section_sp);
53 size_t AddUniqueSection(const lldb::SectionSP &section_sp);
80 const lldb::SectionSP &section_sp,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/ELF/
H A DSymbolVendorELF.cpp135 if (SectionSP section_sp =
140 section_sp);
142 module_section_list->AddSection(section_sp);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFContext.cpp21 auto section_sp = section_list->FindSectionByType(section_type, true);
22 if (!section_sp)
26 section_sp->GetSectionData(data);
H A DSymbolFileDWARFDwo.cpp39 SectionSP section_sp(section_list->FindSectionByType(sect_type, true));
40 if (section_sp) {
42 if (m_objfile_sp->ReadSectionData(section_sp.get(), data) != 0)
H A DSymbolFileDWARFDwp.cpp127 lldb::SectionSP section_sp(
129 if (section_sp) {
130 if (m_obj_file->ReadSectionData(section_sp.get(), data) != 0) {
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/JIT/
H A DObjectFileJIT.cpp216 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx));
217 if (section_sp && section_sp->GetFileSize() > 0 &&
218 !section_sp->IsThreadSpecific()) {
220 section_sp, section_sp->GetFileAddress() + value))
/freebsd-11-stable/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointResolverAddress.cpp71 SectionSP section_sp = m_addr.GetSection(); local
72 if (section_sp) {
73 ModuleSP module_sp = section_sp->GetModule();
H A DBreakpointLocationList.cpp88 SectionSP section_sp(break_loc->GetAddress().GetSection());
89 if (section_sp && section_sp->GetModule().get() == module) {
H A DBreakpoint.cpp542 SectionSP section_sp(section_addr.GetSection());
548 if (section_sp && section_sp->GetModule() == module_sp) {
594 SectionSP section_sp(break_loc_sp->GetAddress().GetSection());
595 if (section_sp && section_sp->GetModule() == module_sp) {
669 SectionSP section_sp = break_loc_sp->GetAddress().GetSection(); local
670 if (section_sp && section_sp->GetModule() == old_module_sp) {
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DLineEntry.h26 LineEntry(const lldb::SectionSP &section_sp, lldb::addr_t section_offset,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
H A DObjectFileBreakpad.cpp141 auto section_sp = std::make_shared<Section>(
146 m_sections_up->AddSection(section_sp);
147 unified_section_list.AddSection(section_sp);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
H A DObjectFile.cpp320 const SectionSP section_sp(symbol->GetAddressRef().GetSection());
321 if (section_sp) {
322 const SectionType section_type = section_sp->GetType();
660 SectionSP section_sp = section_list->GetSectionAtIndex(i); local
662 target.GetSectionLoadList().GetSectionLoadAddress(section_sp);
666 if (section_sp->GetFileSize() == 0)
669 section_sp->GetSectionData(section_data);
H A DLineEntry.cpp21 LineEntry::LineEntry(const lldb::SectionSP &section_sp, argument
27 : range(section_sp, section_offset, byte_size), file(_file),
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DProcessMinidump.cpp87 auto section_sp = std::make_shared<Section>( variable
91 section_sp->SetPermissions(ePermissionsReadable | ePermissionsExecutable);
92 m_sections_up->AddSection(section_sp);
93 unified_section_list.AddSection(std::move(section_sp));
380 SectionSP section_sp = sections->GetSectionAtIndex(i);
381 addr_t load_addr = load_list.GetSectionLoadAddress(section_sp);
385 section_sp->GetByteSize());
393 to_add.back().SetLLDBPermissions(section_sp->GetPermissions());

Completed in 279 milliseconds

12