Home
last modified time | relevance | path

Searched refs:VMRange (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/lldb/unittests/Utility/
DVMRangeTest.cpp18 void PrintTo(const VMRange &v, std::ostream *os) { in PrintTo()
23 TEST(VMRange, IsValid) { in TEST() argument
24 VMRange range; in TEST()
34 TEST(VMRange, Clear) { in TEST() argument
35 VMRange range(0x100, 0x200); in TEST()
36 EXPECT_NE(VMRange(), range); in TEST()
38 EXPECT_EQ(VMRange(), range); in TEST()
41 TEST(VMRange, Comparison) { in TEST() argument
42 VMRange range1(0x100, 0x200); in TEST()
43 VMRange range2(0x100, 0x200); in TEST()
[all …]
/external/llvm-project/lldb/source/Utility/
DVMRange.cpp24 bool VMRange::ContainsValue(const VMRange::collection &coll, in ContainsValue()
26 return llvm::find_if(coll, [&](const VMRange &r) { in ContainsValue()
31 bool VMRange::ContainsRange(const VMRange::collection &coll, in ContainsRange()
32 const VMRange &range) { in ContainsRange()
33 return llvm::find_if(coll, [&](const VMRange &r) { in ContainsRange()
38 void VMRange::Dump(llvm::raw_ostream &s, lldb::addr_t offset, in Dump()
44 bool lldb_private::operator==(const VMRange &lhs, const VMRange &rhs) { in operator ==()
49 bool lldb_private::operator!=(const VMRange &lhs, const VMRange &rhs) { in operator !=()
53 bool lldb_private::operator<(const VMRange &lhs, const VMRange &rhs) { in operator <()
61 bool lldb_private::operator<=(const VMRange &lhs, const VMRange &rhs) { in operator <=()
[all …]
DCMakeLists.txt75 VMRange.cpp
/external/llvm-project/lldb/include/lldb/Utility/
DVMRange.h23 class VMRange {
25 typedef std::vector<VMRange> collection;
29 VMRange() : m_base_addr(0), m_byte_size(0) {} in VMRange() function
31 VMRange(lldb::addr_t start_addr, lldb::addr_t end_addr) in VMRange() function
35 ~VMRange() {} in ~VMRange()
73 bool Contains(const VMRange &range) const { in Contains()
84 static bool ContainsValue(const VMRange::collection &coll,
87 static bool ContainsRange(const VMRange::collection &coll,
88 const VMRange &range);
95 bool operator==(const VMRange &lhs, const VMRange &rhs);
[all …]
/external/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
DObjectFileELF.cpp1667 using VMRange = lldb_private::Range<addr_t, addr_t>; typedef
1671 VMRange Range;
1690 VMRange GetVMRange(const ELFSectionHeader &H) { in GetVMRange()
1699 return VMRange(Address, Size); in GetVMRange()
1710 llvm::Optional<VMRange> GetAddressInfo(const ELFProgramHeader &H) { in GetAddressInfo()
1722 return VMRange(H.p_vaddr, H.p_memsz); in GetAddressInfo()
1726 VMRange Range = GetVMRange(H); in GetAddressInfo()
1752 void AddSegment(const VMRange &Range, SectionSP Seg) { in AddSegment()
/external/llvm-project/lldb/source/Core/
DSection.cpp304 VMRange range(addr, addr + m_byte_size); in Dump()
/external/llvm-project/lldb/include/lldb/
Dlldb-forward.h259 class VMRange; variable
/external/llvm-project/lldb/source/Plugins/ObjectFile/Mach-O/
DObjectFileMachO.cpp1920 VMRange vm_range;