Home
last modified time | relevance | path

Searched refs:file_addr (Results 1 – 25 of 55) sorted by relevance

123

/llvm-project-15.0.7/lldb/source/Symbol/
H A DLineTable.cpp89 if (!entries.empty() && entries.back().file_addr == file_addr) { in AppendLineEntryToSequence()
154 LT_COMPARE(a.file_addr, b.file_addr); in operator ()()
206 if (pos->file_addr != search_entry.file_addr) in FindLineEntryByAddress()
208 else if (pos->file_addr == search_entry.file_addr) { in FindLineEntryByAddress()
218 if (pos->file_addr != search_entry.file_addr) in FindLineEntryByAddress()
228 if (prev_pos->file_addr == search_entry.file_addr && in FindLineEntryByAddress()
270 addr_t file_addr = entry.file_addr; in ConvertEntryAtIndexToLineEntry() local
275 --file_addr; in ConvertEntryAtIndexToLineEntry()
395 range.SetRangeEnd(entry.file_addr); in GetContiguousFileAddressRanges()
400 range.SetRangeBase(entry.file_addr); in GetContiguousFileAddressRanges()
[all …]
H A DSymtab.cpp887 const addr_t file_addr; member
1016 Symbol *Symtab::FindSymbolAtFileAddress(addr_t file_addr) { in FindSymbolAtFileAddress() argument
1022 m_file_addr_to_index.FindEntryStartsAt(file_addr); in FindSymbolAtFileAddress()
1025 if (symbol->GetFileAddress() == file_addr) in FindSymbolAtFileAddress()
1031 Symbol *Symtab::FindSymbolContainingFileAddress(addr_t file_addr) { in FindSymbolContainingFileAddress() argument
1038 m_file_addr_to_index.FindEntryThatContains(file_addr); in FindSymbolContainingFileAddress()
1041 if (symbol->ContainsFileAddress(file_addr)) in FindSymbolContainingFileAddress()
1048 addr_t file_addr, std::function<bool(Symbol *)> const &callback) { in ForEachSymbolContainingFileAddress() argument
1058 m_file_addr_to_index.FindEntryIndexesThatContain(file_addr, in ForEachSymbolContainingFileAddress()
1063 if (symbol->ContainsFileAddress(file_addr)) { in ForEachSymbolContainingFileAddress()
H A DUnwindTable.cpp122 addr_t file_addr = addr.GetFileAddress(); in GetFuncUnwindersContainingAddress() local
126 insert_pos = m_unwinds.lower_bound(file_addr); in GetFuncUnwindersContainingAddress()
H A DArmUnwindInfo.cpp59 lldb::addr_t file_addr = exidx_base_addr + offset; in ArmUnwindInfo() local
63 m_exidx_entries.emplace_back(file_addr, addr, data); in ArmUnwindInfo()
/llvm-project-15.0.7/lldb/source/Core/
H A DAddressRange.cpp33 AddressRange::AddressRange(addr_t file_addr, addr_t byte_size, in AddressRange() argument
35 : m_base_addr(file_addr, section_list), m_byte_size(byte_size) {} in AddressRange()
69 addr_t file_addr = addr.GetFileAddress(); in ContainsFileAddress() local
70 if (file_addr == LLDB_INVALID_ADDRESS) in ContainsFileAddress()
73 if (file_base_addr <= file_addr) in ContainsFileAddress()
74 return (file_addr - file_base_addr) < GetByteSize(); in ContainsFileAddress()
79 bool AddressRange::ContainsFileAddress(addr_t file_addr) const { in ContainsFileAddress()
80 if (file_addr == LLDB_INVALID_ADDRESS) in ContainsFileAddress()
87 if (file_base_addr <= file_addr) in ContainsFileAddress()
88 return (file_addr - file_base_addr) < GetByteSize(); in ContainsFileAddress()
H A DSection.cpp156 SectionType sect_type, addr_t file_addr, addr_t byte_size, in Section() argument
162 m_file_addr(file_addr), m_byte_size(byte_size), in Section()
178 m_file_addr(file_addr), m_byte_size(byte_size), in Section()
201 bool Section::SetFileAddress(lldb::addr_t file_addr) { in SetFileAddress() argument
204 if (m_file_addr >= file_addr) in SetFileAddress()
205 return parent_sp->SetFileAddress(m_file_addr - file_addr); in SetFileAddress()
209 m_file_addr = file_addr; in SetFileAddress()
261 const addr_t file_addr = GetFileAddress(); in ContainsFileAddress() local
262 if (file_addr != LLDB_INVALID_ADDRESS && !IsThreadSpecific()) { in ContainsFileAddress()
263 if (file_addr <= vm_addr) { in ContainsFileAddress()
[all …]
H A DAddress.cpp248 bool Address::ResolveAddressUsingFileSections(addr_t file_addr, in ResolveAddressUsingFileSections() argument
252 section_list->FindSectionContainingFileAddress(file_addr)); in ResolveAddressUsingFileSections()
255 assert(section_sp->ContainsFileAddress(file_addr)); in ResolveAddressUsingFileSections()
256 m_offset = file_addr - section_sp->GetFileAddress(); in ResolveAddressUsingFileSections()
261 m_offset = file_addr; in ResolveAddressUsingFileSections()
456 addr_t file_addr = GetFileAddress(); in Dump() local
457 if (file_addr == LLDB_INVALID_ADDRESS) { in Dump()
462 DumpAddress(s->AsRawOstream(), file_addr, addr_size); in Dump()
725 addr_t file_addr = GetFileAddress(); in Dump() local
753 file_addr)) in Dump()
H A DValue.cpp650 lldb::addr_t file_addr = GetScalar().ULongLong(LLDB_INVALID_ADDRESS); in ConvertToLoadAddress() local
651 if (file_addr == LLDB_INVALID_ADDRESS) in ConvertToLoadAddress()
655 if (!module->ResolveFileAddress(file_addr, so_addr)) in ConvertToLoadAddress()
/llvm-project-15.0.7/lldb/include/lldb/Symbol/
H A DLineTable.h71 void InsertLineEntry(lldb::addr_t file_addr, uint32_t line, uint16_t column,
81 static void AppendLineEntryToSequence(LineSequence *sequence, lldb::addr_t file_addr,
219 : file_addr(_file_addr), line(_line), in Entry()
230 file_addr = LLDB_INVALID_ADDRESS; in Clear()
248 SCALAR_COMPARE(lhs.file_addr, rhs.file_addr); in Compare()
275 return lhs.file_addr < rhs.file_addr; in EntryAddressLessThan()
280 lldb::addr_t file_addr = LLDB_INVALID_ADDRESS; member
H A DSymtab.h116 Symbol *FindSymbolAtFileAddress(lldb::addr_t file_addr);
117 Symbol *FindSymbolContainingFileAddress(lldb::addr_t file_addr);
119 lldb::addr_t file_addr, std::function<bool(Symbol *)> const &callback);
/llvm-project-15.0.7/lldb/source/Expression/
H A DDWARFExpressionList.cpp43 lldb::addr_t file_addr) const { in GetExpressionData()
45 GetExpressionAtAddress(func_load_addr, file_addr)) in GetExpressionData()
98 std::function<lldb::addr_t(lldb::addr_t file_addr)> const in LinkThreadLocalStorage()
144 lldb::addr_t file_addr, in DumpLocations() argument
155 if (file_addr != LLDB_INVALID_ADDRESS && in DumpLocations()
156 (file_addr < load_base || file_addr >= load_end)) in DumpLocations()
170 if (file_addr != LLDB_INVALID_ADDRESS) in DumpLocations()
H A DDWARFExpression.cpp378 bool DWARFExpression::Update_DW_OP_addr(lldb::addr_t file_addr) { in Update_DW_OP_addr() argument
397 if (encoder.PutAddress(offset, file_addr) == UINT32_MAX) in Update_DW_OP_addr()
429 std::function<lldb::addr_t(lldb::addr_t file_addr)> const in LinkThreadLocalStorage()
786 lldb::addr_t file_addr, Address &so_addr, in ResolveLoadAddress() argument
795 if (!module_sp->ResolveFileAddress(file_addr, so_addr)) { in ResolveLoadAddress()
976 auto file_addr = stack.back().GetScalar().ULongLong( in Evaluate() local
981 exe_ctx, module_sp, error_ptr, "DW_OP_deref", file_addr, so_addr); in Evaluate()
1098 auto file_addr = in Evaluate() local
1103 "DW_OP_deref_size", file_addr, so_addr, in Evaluate()
/llvm-project-15.0.7/lldb/examples/lookup/
H A Dmain.cpp170 lldb::addr_t file_addr = strtoull(addr_cstr, NULL, 0); in main() local
181 file_addr, exe_file_path); in main()
190 SBAddress addr = module.ResolveFileAddress(file_addr); in main()
213 file_addr, exe_file_path); in main()
/llvm-project-15.0.7/lldb/source/API/
H A DSBSection.cpp121 lldb::addr_t file_addr = LLDB_INVALID_ADDRESS; in GetFileAddress() local
125 return file_addr; in GetFileAddress()
279 const addr_t file_addr = section_sp->GetFileAddress(); in GetDescription() local
280 strm.Printf("[0x%16.16" PRIx64 "-0x%16.16" PRIx64 ") ", file_addr, in GetDescription()
281 file_addr + section_sp->GetByteSize()); in GetDescription()
/llvm-project-15.0.7/lldb/include/lldb/Expression/
H A DDWARFExpressionList.h52 lldb::addr_t file_addr = 0) const;
78 std::function<lldb::addr_t(lldb::addr_t file_addr)> const
87 lldb::addr_t func_load_addr, lldb::addr_t file_addr,
H A DDWARFExpression.h78 bool Update_DW_OP_addr(lldb::addr_t file_addr);
86 std::function<lldb::addr_t(lldb::addr_t file_addr)> const
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DAddressRange.h63 AddressRange(lldb::addr_t file_addr, lldb::addr_t byte_size,
132 bool ContainsFileAddress(lldb::addr_t file_addr) const;
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBInstructionList.i90 lookup_file_addr = key.file_addr
94 inst_file_addr = inst.addr.file_addr
H A DSBSection.i137file_addr = property(GetFileAddress, None, doc='''A read only property that returns an integer tha…
/llvm-project-15.0.7/lldb/unittests/ObjectFile/PECOFF/
H A DTestPECallFrameInfo.cpp29 void GetUnwindPlan(addr_t file_addr, UnwindPlan &plan) const;
32 void PECallFrameInfoTest::GetUnwindPlan(addr_t file_addr, UnwindPlan &plan) const { in GetUnwindPlan() argument
205 EXPECT_TRUE(cfi->GetUnwindPlan(Address(file_addr, sect_list), plan)); in GetUnwindPlan()
/llvm-project-15.0.7/lldb/examples/python/
H A Dlldb_module_utils.py75 start_file_addr = line_entry.addr.file_addr
76 end_file_addr = line_entry.end_addr.file_addr
H A Dlldbtk.py248 value = '0x%16.16x *' % (self.section.file_addr)
358 value = '0x%16.16x *' % (address.file_addr)
384 name = '0x%16.16x *' % (address.file_addr)
436 value = '0x%16.16x *' % (address.file_addr)
H A Dglobals.py58 print('file_addr = 0x%x' % global_variable.addr.file_addr)
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDIE.h67 LookupDeepestBlock(lldb::addr_t file_addr) const;
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Breakpad/
H A DObjectFileBreakpad.h70 AddressClass GetAddressClass(lldb::addr_t file_addr) override { in GetAddressClass() argument

123