Home
last modified time | relevance | path

Searched refs:so_addr (Results 1 – 25 of 46) sorted by relevance

12

/external/llvm-project/lldb/source/Core/
DAddress.cpp411 Address so_addr; in Dump() local
522 if (ReadAddress(exe_scope, *this, pointer_size, so_addr)) { in Dump()
525 so_addr.Dump(s, exe_scope, DumpStyleLoadAddress, in Dump()
530 ReadCStringFromMemory(exe_scope, so_addr, s); in Dump()
535 if (ReadAddress(exe_scope, *this, pointer_size, so_addr)) { in Dump()
536 if (target && so_addr.IsSectionOffset()) { in Dump()
539 so_addr, eSymbolContextEverything, func_sc); in Dump()
544 so_addr.Dump(s, exe_scope, DumpStyleLoadAddress, in Dump()
551 func_sc.DumpStopContext(s, exe_scope, so_addr, true, true, in Dump()
553 if (ReadAddress(exe_scope, cstr_addr, pointer_size, so_addr)) { in Dump()
[all …]
DDumpDataExtractor.cpp148 lldb_private::Address so_addr; in DumpInstructions() local
150 if (target_sp->GetSectionLoadList().ResolveLoadAddress(addr, so_addr)) { in DumpInstructions()
154 !target_sp->GetImages().ResolveFileAddress(addr, so_addr)) in DumpInstructions()
155 so_addr.SetRawAddress(addr); in DumpInstructions()
159 so_addr, DE, start_offset, number_of_instructions, false, in DumpInstructions()
603 lldb_private::Address so_addr; in DumpDataExtractor() local
606 so_addr)) { in DumpDataExtractor()
608 so_addr.Dump(s, exe_scope, Address::DumpStyleResolvedDescription, in DumpDataExtractor()
611 so_addr.SetOffset(addr); in DumpDataExtractor()
612 so_addr.Dump(s, exe_scope, in DumpDataExtractor()
DValue.cpp397 Address so_addr(address, objfile->GetSectionList()); in GetValueAsData() local
399 so_addr.GetLoadAddress(exe_ctx->GetTargetPtr()); in GetValueAsData()
417 if (so_addr.IsSectionOffset()) { in GetValueAsData()
419 file_so_addr = so_addr; in GetValueAsData()
654 Address so_addr; in ConvertToLoadAddress() local
655 if (!module->ResolveFileAddress(file_addr, so_addr)) in ConvertToLoadAddress()
657 lldb::addr_t load_addr = so_addr.GetLoadAddress(target); in ConvertToLoadAddress()
DModule.cpp442 bool Module::ResolveFileAddress(lldb::addr_t vm_addr, Address &so_addr) { in ResolveFileAddress() argument
450 return so_addr.ResolveAddressUsingFileSections(vm_addr, section_list); in ResolveFileAddress()
455 const Address &so_addr, lldb::SymbolContextItem resolve_scope, in ResolveSymbolContextForAddress() argument
465 SectionSP section_sp(so_addr.GetSection()); in ResolveSymbolContextForAddress()
486 symfile->ResolveSymbolContext(so_addr, resolve_scope, sc); in ResolveSymbolContextForAddress()
494 if (symtab && so_addr.IsSectionOffset()) { in ResolveSymbolContextForAddress()
498 so_addr.GetFileAddress(), in ResolveSymbolContextForAddress()
514 obj_file->ResolveSymbolForAddress(so_addr, verify_unique); in ResolveSymbolContextForAddress()
532 so_addr.GetFileAddress()); in ResolveSymbolContextForAddress()
550 so_addr.IsSectionOffset()) { in ResolveSymbolContextForAddress()
[all …]
DAddressRange.cpp40 AddressRange::AddressRange(const Address &so_addr, addr_t byte_size) in AddressRange() argument
41 : m_base_addr(so_addr), m_byte_size(byte_size) {} in AddressRange()
DSection.cpp253 bool Section::ResolveContainedAddress(addr_t offset, Address &so_addr, in ResolveContainedAddress() argument
264 so_addr, allow_section_end); in ResolveContainedAddress()
266 so_addr.SetOffset(offset); in ResolveContainedAddress()
267 so_addr.SetSection(const_cast<Section *>(this)->shared_from_this()); in ResolveContainedAddress()
DModuleList.cpp634 Address &so_addr) const { in ResolveFileAddress()
638 if ((*pos)->ResolveFileAddress(vm_addr, so_addr)) in ResolveFileAddress()
646 ModuleList::ResolveSymbolContextForAddress(const Address &so_addr, in ResolveSymbolContextForAddress() argument
651 ModuleSP module_sp(so_addr.GetModule()); in ResolveSymbolContextForAddress()
654 module_sp->ResolveSymbolContextForAddress(so_addr, resolve_scope, sc); in ResolveSymbolContextForAddress()
660 (*pos)->ResolveSymbolContextForAddress(so_addr, resolve_scope, sc); in ResolveSymbolContextForAddress()
/external/llvm-project/lldb/source/DataFormatters/
DCXXFunctionPointer.cpp38 Address so_addr; in CXXFunctionPointerSummaryProvider() local
42 so_addr)) { in CXXFunctionPointerSummaryProvider()
43 so_addr.Dump(&sstr, exe_ctx.GetBestExecutionContextScope(), in CXXFunctionPointerSummaryProvider()
/external/llvm-project/lldb/include/lldb/Core/
DAddressRange.h76 AddressRange(const Address &so_addr, lldb::addr_t byte_size);
121 bool ContainsFileAddress(const Address &so_addr) const;
145 bool ContainsLoadAddress(const Address &so_addr, Target *target) const;
DModule.h649 bool ResolveFileAddress(lldb::addr_t vm_addr, Address &so_addr);
689 const Address &so_addr, lldb::SymbolContextItem resolve_scope,
1029 Address &so_addr, SymbolContext &sc);
DModuleList.h417 bool ResolveFileAddress(lldb::addr_t vm_addr, Address &so_addr) const;
421 uint32_t ResolveSymbolContextForAddress(const Address &so_addr,
/external/llvm-project/lldb/source/Breakpoint/
DBreakpointLocationList.cpp101 Address so_addr; in FindByAddress() local
104 so_addr = addr; in FindByAddress()
108 addr.GetOffset(), so_addr); in FindByAddress()
109 if (!so_addr.IsValid()) { in FindByAddress()
111 so_addr = addr; in FindByAddress()
115 addr_map::const_iterator pos = m_address_to_location.find(so_addr); in FindByAddress()
/external/llvm-project/lldb/examples/python/
Dsymbolication.py49 self.so_addr = None
63 elif self.so_addr:
64 s += " %s" % (self.so_addr)
68 if self.so_addr is None:
69 self.so_addr = self.target.ResolveLoadAddress(self.load_addr)
70 return self.so_addr
121 self.so_addr)
541 if symbolicated_address.so_addr:
548 symbolicated_address.so_addr, inlined_parent_so_addr)
558 symbolicated_address.so_addr = inlined_parent_so_addr
/external/llvm-project/lldb/source/Commands/
DCommandObjectSource.cpp302 Address so_addr; in GetSymbolContextsForAddress() local
314 if (module_sp->ResolveFileAddress(addr, so_addr)) { in GetSymbolContextsForAddress()
318 so_addr, eSymbolContextEverything, sc) & in GetSymbolContextsForAddress()
332 if (target->GetSectionLoadList().ResolveLoadAddress(addr, so_addr)) { in GetSymbolContextsForAddress()
333 ModuleSP module_sp(so_addr.GetModule()); in GetSymbolContextsForAddress()
340 so_addr, eSymbolContextEverything, sc) & in GetSymbolContextsForAddress()
346 so_addr.Dump(&addr_strm, nullptr, in GetSymbolContextsForAddress()
355 so_addr.Dump(&addr_strm, nullptr, in GetSymbolContextsForAddress()
1014 Address so_addr; in DoExecute() local
1026 module_sp->ResolveFileAddress(m_options.address, so_addr)) { in DoExecute()
[all …]
/external/llvm-project/lldb/source/Target/
DSectionLoadList.cpp208 bool SectionLoadList::ResolveLoadAddress(addr_t load_addr, Address &so_addr, in ResolveLoadAddress() argument
224 return pos->second->ResolveContainedAddress(offset, so_addr, in ResolveLoadAddress()
239 return rpos->second->ResolveContainedAddress(offset, so_addr, in ResolveLoadAddress()
245 so_addr.Clear(); in ResolveLoadAddress()
DSectionLoadHistory.cpp115 Address &so_addr) { in ResolveLoadAddress() argument
121 return section_load_list->ResolveLoadAddress(load_addr, so_addr); in ResolveLoadAddress()
/external/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/
DInstrumentationRuntimeTSan.cpp545 lldb_private::Address so_addr; in GetSymbolNameFromAddress() local
547 so_addr)) in GetSymbolNameFromAddress()
550 lldb_private::Symbol *symbol = so_addr.CalculateSymbolContextSymbol(); in GetSymbolNameFromAddress()
560 lldb_private::Address so_addr; in GetSymbolDeclarationFromAddress() local
562 so_addr)) in GetSymbolDeclarationFromAddress()
565 lldb_private::Symbol *symbol = so_addr.CalculateSymbolContextSymbol(); in GetSymbolDeclarationFromAddress()
598 lldb_private::Address so_addr; in GetFirstNonInternalFramePc() local
600 addr, so_addr)) in GetFirstNonInternalFramePc()
603 if (so_addr.GetModule() == runtime_module_sp) in GetFirstNonInternalFramePc()
/external/llvm-project/lldb/source/Plugins/SymbolFile/Symtab/
DSymbolFileSymtab.cpp247 uint32_t SymbolFileSymtab::ResolveSymbolContext(const Address &so_addr, in ResolveSymbolContext() argument
257 so_addr.GetFileAddress()); in ResolveSymbolContext()
DSymbolFileSymtab.h79 uint32_t ResolveSymbolContext(const lldb_private::Address &so_addr,
/external/llvm-project/lldb/include/lldb/Target/
DSectionLoadList.h43 bool ResolveLoadAddress(lldb::addr_t load_addr, Address &so_addr,
DSectionLoadHistory.h48 Address &so_addr);
/external/llvm-project/lldb/source/Symbol/
DLineTable.cpp188 bool LineTable::FindLineEntryByAddress(const Address &so_addr, in FindLineEntryByAddress() argument
196 if (so_addr.GetModule().get() == m_comp_unit->GetModule().get()) { in FindLineEntryByAddress()
198 search_entry.file_addr = so_addr.GetFileAddress(); in FindLineEntryByAddress()
242 if (pos->file_addr > so_addr.GetFileAddress()) in FindLineEntryByAddress()
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
DSymbolFilePDB.h103 uint32_t ResolveSymbolContext(const lldb_private::Address &so_addr,
212 GetCompileUnitContainsAddress(const lldb_private::Address &so_addr);
/external/llvm-project/lldb/source/Plugins/ABI/ARM/
DABIMacOSX_arm.cpp1380 Address so_addr; in PrepareTrivialCall() local
1385 so_addr.SetLoadAddress(return_addr, target_sp.get()); in PrepareTrivialCall()
1386 return_addr = so_addr.GetCallableLoadAddress(target_sp.get()); in PrepareTrivialCall()
1394 so_addr.SetLoadAddress(function_addr, target_sp.get()); in PrepareTrivialCall()
1395 function_addr = so_addr.GetCallableLoadAddress(target_sp.get()); in PrepareTrivialCall()
DABISysV_arm.cpp1386 Address so_addr; in PrepareTrivialCall() local
1391 so_addr.SetLoadAddress(return_addr, target_sp.get()); in PrepareTrivialCall()
1392 return_addr = so_addr.GetCallableLoadAddress(target_sp.get()); in PrepareTrivialCall()
1404 so_addr.SetLoadAddress(function_addr, target_sp.get()); in PrepareTrivialCall()
1405 function_addr = so_addr.GetCallableLoadAddress(target_sp.get()); in PrepareTrivialCall()

12