Home
last modified time | relevance | path

Searched refs:GetRangeBase (Results 1 – 25 of 39) sorted by relevance

12

/llvm-project-15.0.7/lldb/unittests/Utility/
H A DRangeTest.cpp20 static_assert(std::is_same<lldb::addr_t, decltype(r.GetRangeBase())>::value, in TEST()
34 EXPECT_EQ(0U, r.GetRangeBase()); in TEST()
42 EXPECT_EQ(3U, r.GetRangeBase()); in TEST()
51 EXPECT_EQ(3U, r.GetRangeBase()); in TEST()
70 EXPECT_EQ(6U, r.GetRangeBase()); in TEST()
78 EXPECT_EQ(4U, r.GetRangeBase()); in TEST()
83 EXPECT_EQ(6U, r.GetRangeBase()); in TEST()
91 EXPECT_EQ(3U, r.GetRangeBase()); in TEST()
/llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/
H A DMemoryTagManagerAArch64MTE.cpp57 lldb::addr_t new_start = range.GetRangeBase(); in ExpandToGranule()
106 return region.GetRange().Contains(remaining_range.GetRangeBase()); in MakeTaggedRange()
115 tag_range.GetRangeBase(), in MakeTaggedRange()
153 return lhs.GetRange().GetRangeBase() < rhs.GetRange().GetRangeBase(); in MakeTaggedRanges()
198 std::max(range.GetRangeBase(), region.GetRange().GetRangeBase()); in MakeTaggedRanges()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFCompileUnit.cpp47 debug_aranges->AppendRange(cu_offset, range.GetRangeBase(), in BuildAddressRangeTable()
72 debug_aranges->AppendRange(cu_offset, range.GetRangeBase(), in BuildAddressRangeTable()
95 debug_aranges->AppendRange(GetOffset(), range.GetRangeBase(), in BuildAddressRangeTable()
H A DSymbolFileDWARFDebugMap.cpp786 exe_file_addr - debug_map_entry->GetRangeBase() + in ResolveSymbolContext()
1334 entry.GetRangeBase(), entry.GetRangeEnd(), entry.data, in FinalizeOSOFileRanges()
1352 oso_file_addr - oso_range_entry->GetRangeBase(); in LinkOSOFileAddress()
1354 debug_map_entry->GetRangeBase() + offset; in LinkOSOFileAddress()
1380 oso_file_addr - oso_range_entry->GetRangeBase(); in LinkOSOAddress()
1382 debug_map_entry->GetRangeBase() + offset; in LinkOSOAddress()
1410 debug_aranges->AppendRange(dwarf2Data->GetID(), entry->GetRangeBase(), in AddOSOARanges()
H A DDWARFDebugAranges.cpp80 entry->GetRangeBase(), entry->GetRangeEnd()); in Dump()
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DRangeMap.h46 BaseType GetRangeBase() const { return base; } in GetRangeBase() function
63 const BaseType lhs_base = this->GetRangeBase(); in Intersect()
64 const BaseType rhs_base = rhs.GetRangeBase(); in Intersect()
89 return (GetRangeBase() <= r) && (r < GetRangeEnd()); in Contains()
93 return (GetRangeBase() <= r) && (r <= GetRangeEnd()); in ContainsEndInclusive()
97 return Contains(range.GetRangeBase()) && in Contains()
103 const BaseType lhs_base = this->GetRangeBase(); in DoesAdjoinOrIntersect()
104 const BaseType rhs_base = rhs.GetRangeBase(); in DoesAdjoinOrIntersect()
264 return m_entries.front().GetRangeBase(); in GetMinRangeBase()
308 return lhs.GetRangeBase() < rhs.GetRangeBase(); in BaseLessThan()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Process/mach-core/
H A DProcessMachCore.cpp322 last_entry->GetRangeEnd() == range_entry.GetRangeBase() && in DoLoadCore()
323 last_entry->data.GetRangeEnd() == range_entry.data.GetRangeBase()) { in DoLoadCore()
459 lldb::addr_t section_vm_addr_start = entry->GetRangeBase(); in DoLoadCore()
652 const addr_t offset = curr_addr - core_memory_entry->GetRangeBase(); in DoReadMemory()
657 core_memory_entry->data.GetRangeBase() + offset, bytes_to_read, in DoReadMemory()
682 region_info.GetRange().SetRangeBase(permission_entry->GetRangeBase()); in DoGetMemoryRegionInfo()
695 } else if (load_addr < permission_entry->GetRangeBase()) { in DoGetMemoryRegionInfo()
697 region_info.GetRange().SetRangeEnd(permission_entry->GetRangeBase()); in DoGetMemoryRegionInfo()
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectMemoryTag.cpp110 tagged_range->GetRangeBase(), tagged_range->GetByteSize()); in DoExecute()
120 addr_t addr = tagged_range->GetRangeBase(); in DoExecute()
260 .GetRangeBase(); in DoExecute()
290 Status status = process->WriteMemoryTags(tagged_range->GetRangeBase(), in DoExecute()
/llvm-project-15.0.7/lldb/source/Symbol/
H A DBlock.cpp48 DumpAddressRange(s->AsRawOstream(), base_addr + range.GetRangeBase(), in GetDescription()
91 DumpAddressRange(s->AsRawOstream(), base_addr + range.GetRangeBase(), in Dump()
174 DumpAddressRange(s->AsRawOstream(), base_addr + range.GetRangeBase(), in DumpAddressRanges()
267 range_ptr->GetRangeBase()); in GetRangeContainingAddress()
309 range.GetBaseAddress().Slide(vm_range.GetRangeBase()); in GetRangeAtIndex()
324 addr.Slide(m_ranges.GetEntryRef(0).GetRangeBase()); in GetStartAddress()
344 const addr_t block_start_addr = function_file_addr + range.GetRangeBase(); in AddRange()
H A DLineTable.cpp394 if (range.GetRangeBase() != LLDB_INVALID_ADDRESS) { in GetContiguousFileAddressRanges()
399 } else if (range.GetRangeBase() == LLDB_INVALID_ADDRESS) { in GetContiguousFileAddressRanges()
435 file_range_entry->GetRangeBase() + in LinkLineTable()
443 prev_file_range_entry->GetRangeBase() + prev_file_range_entry->data; in LinkLineTable()
465 prev_file_range_entry->GetRangeBase() + prev_file_range_entry->data; in LinkLineTable()
H A DSymtab.cpp961 addr_t curr_base_addr = entry->GetRangeBase(); in InitAddressIndexes()
970 (entry->GetRangeBase() - containing_section->GetRangeBase()); in InitAddressIndexes()
976 addr_t next_base_addr = next_entry->GetRangeBase(); in InitAddressIndexes()
/llvm-project-15.0.7/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp125 if (last_entry && last_entry->GetRangeEnd() == range_entry.GetRangeBase() && in AddAddressRangeFromLoadSegment()
126 last_entry->data.GetRangeEnd() == range_entry.data.GetRangeBase() && in AddAddressRangeFromLoadSegment()
321 region_info.GetRange().SetRangeBase(permission_entry->GetRangeBase()); in DoGetMemoryRegionInfo()
339 m_core_tag_ranges.FindEntryStartsAt(permission_entry->GetRangeBase()); in DoGetMemoryRegionInfo()
343 } else if (load_addr < permission_entry->GetRangeBase()) { in DoGetMemoryRegionInfo()
345 region_info.GetRange().SetRangeEnd(permission_entry->GetRangeBase()); in DoGetMemoryRegionInfo()
382 const lldb::addr_t offset = addr - address_range->GetRangeBase(); in DoReadMemory()
383 const lldb::addr_t file_start = address_range->data.GetRangeBase(); in DoReadMemory()
440 tag_entry->GetRangeBase(), tag_entry->data.GetRangeBase(), addr, len); in ReadMemoryTags()
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DMemoryRegionInfo.h161 return lhs.GetRange().GetRangeBase() < rhs;
165 return lhs < rhs.GetRange().GetRangeBase();
H A DMemory.h79 lldb::addr_t GetBaseAddress() const { return m_range.GetRangeBase(); } in GetBaseAddress()
/llvm-project-15.0.7/lldb/source/Target/
H A DMemoryRegionInfo.cpp17 Info.GetRange().GetRangeBase(), in operator <<()
H A DMemory.cpp118 if (entry->GetRangeBase() == base_addr && in RemoveInvalidRange()
146 memcpy(dst, pos->second->GetBytes() + (addr - chunk_range.GetRangeBase()), in Read()
281 addr_t addr = free_block.GetRangeBase(); in ReserveBlock()
H A DMemoryTagMap.cpp39 addr = range.GetRangeBase(); in GetTags()
/llvm-project-15.0.7/lldb/source/Expression/
H A DDWARFExpressionList.cpp153 addr_t load_base = entry.GetRangeBase() + func_load_addr - m_func_file_addr; in DumpLocations()
193 llvm::DWARFFormValue::dumpAddress(os, addr_size, entry.GetRangeBase()); in GetDescription()
/llvm-project-15.0.7/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp585 assert((proc_entry_info.GetRange().GetRangeBase() >= prev_base_address) && in GetMemoryRegionInfo()
587 prev_base_address = proc_entry_info.GetRange().GetRangeBase(); in GetMemoryRegionInfo()
591 if (load_addr < proc_entry_info.GetRange().GetRangeBase()) { in GetMemoryRegionInfo()
594 proc_entry_info.GetRange().GetRangeBase() - load_addr); in GetMemoryRegionInfo()
740 load_addr = it.first.GetRange().GetRangeBase(); in GetFileLoadAddress()
/llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/
H A DNativeProcessLinux.cpp1116 assert((proc_entry_info.GetRange().GetRangeBase() >= prev_base_address) && in GetMemoryRegionInfo()
1118 prev_base_address = proc_entry_info.GetRange().GetRangeBase(); in GetMemoryRegionInfo()
1123 if (load_addr < proc_entry_info.GetRange().GetRangeBase()) { in GetMemoryRegionInfo()
1126 proc_entry_info.GetRange().GetRangeBase() - load_addr); in GetMemoryRegionInfo()
1237 addr_t exe_addr = region_it->first.GetRange().GetRangeBase(); in Syscall()
1382 lldb::addr_t read_addr = range.GetRangeBase(); in ReadMemoryTags()
1450 lldb::addr_t write_addr = range.GetRangeBase(); in WriteMemoryTags()
1756 load_addr = it.first.GetRange().GetRangeBase(); in GetFileLoadAddress()
/llvm-project-15.0.7/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.cpp621 assert((proc_entry_info.GetRange().GetRangeBase() >= prev_base_address) && in GetMemoryRegionInfo()
623 prev_base_address = proc_entry_info.GetRange().GetRangeBase(); in GetMemoryRegionInfo()
627 if (load_addr < proc_entry_info.GetRange().GetRangeBase()) { in GetMemoryRegionInfo()
630 proc_entry_info.GetRange().GetRangeBase() - load_addr); in GetMemoryRegionInfo()
767 load_addr = it.first.GetRange().GetRangeBase(); in GetFileLoadAddress()
/llvm-project-15.0.7/lldb/source/API/
H A DSBMemoryRegionInfo.cpp87 return m_opaque_up->GetRange().GetRangeBase(); in GetRegionBase()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp1771 auto It = Segments.find(Range.GetRangeBase()); in GetAddressInfo()
1774 if (It.start() <= Range.GetRangeBase()) { in GetAddressInfo()
1775 MaxSize = It.stop() - Range.GetRangeBase(); in GetAddressInfo()
1778 MaxSize = It.start() - Range.GetRangeBase(); in GetAddressInfo()
1786 Sections.overlaps(Range.GetRangeBase(), Range.GetRangeEnd())) { in GetAddressInfo()
1796 Segments.insert(Range.GetRangeBase(), Range.GetRangeEnd(), std::move(Seg)); in AddSegment()
1805 Sections.insert(Info.Range.GetRangeBase(), Info.Range.GetRangeEnd(), in AddSection()
1834 InfoOr->GetRangeBase(), InfoOr->GetByteSize(), PHdr.p_offset, in CreateSections()
1876 InfoOr->Range.GetRangeBase(), // VM address. in CreateSections()
/llvm-project-15.0.7/lldb/source/Core/
H A DAddress.cpp749 DumpAddressRange(s->AsRawOstream(), range.GetRangeBase(), in Dump()
754 DumpAddressRange(s->AsRawOstream(), range->GetRangeBase(), in Dump()
H A DDumpDataExtractor.cpp302 process_sp->ReadMemoryTags(range.GetRangeBase(), range.GetByteSize()); in GetMemoryTags()
305 memory_tag_map.InsertTags(range.GetRangeBase(), *tags_or_err); in GetMemoryTags()

12