Home
last modified time | relevance | path

Searched refs:AddressRange (Results 1 – 25 of 118) sorted by relevance

12345

/external/llvm-project/lldb/source/Core/
DAddressRange.cpp30 AddressRange::AddressRange() : m_base_addr(), m_byte_size(0) {} in AddressRange() function in AddressRange
32 AddressRange::AddressRange(addr_t file_addr, addr_t byte_size, in AddressRange() function in AddressRange
36 AddressRange::AddressRange(const lldb::SectionSP &section, addr_t offset, in AddressRange() function in AddressRange
40 AddressRange::AddressRange(const Address &so_addr, addr_t byte_size) in AddressRange() function in AddressRange
43 AddressRange::~AddressRange() {} in ~AddressRange()
62 bool AddressRange::ContainsFileAddress(const Address &addr) const { in ContainsFileAddress()
79 bool AddressRange::ContainsFileAddress(addr_t file_addr) const { in ContainsFileAddress()
93 bool AddressRange::ContainsLoadAddress(const Address &addr, in ContainsLoadAddress()
111 bool AddressRange::ContainsLoadAddress(addr_t load_addr, Target *target) const { in ContainsLoadAddress()
125 bool AddressRange::Extend(const AddressRange &rhs_range) { in Extend()
[all …]
DAddressResolver.cpp33 std::vector<AddressRange> &AddressResolver::GetAddressRanges() { in GetAddressRanges()
41 AddressRange &AddressResolver::GetAddressRangeAtIndex(size_t idx) { in GetAddressRangeAtIndex()
/external/google-breakpad/src/common/windows/
Domap_unittest.cc65 std::ostream& operator<<(std::ostream& os, const AddressRange& ar) { in operator <<()
98 const AddressRange B(100, 15);
99 const AddressRange C(B.end(), 10);
100 const AddressRange D(C.end(), 25);
101 const AddressRange E(D.end(), 10);
102 const AddressRange F(E.end(), 40);
103 const AddressRange G(F.end(), 3);
104 const AddressRange H(G.end(), 7);
107 const AddressRange Bt(100, 15);
108 const AddressRange Dt(Bt.end(), 20); // D is shortened.
[all …]
Domap_internal.h67 struct AddressRange { struct
71 AddressRange() : rva(0), length(0) { } in AddressRange() argument
72 AddressRange(DWORD rva, DWORD length) : rva(rva), length(length) { } in AddressRange() function
79 int Compare(const AddressRange& rhs) const; argument
80 bool operator<(const AddressRange& rhs) const { return Compare(rhs) == -1; }
81 bool operator>(const AddressRange& rhs) const { return Compare(rhs) == 1; }
84 bool operator==(const AddressRange& rhs) const {
87 bool operator!=(const AddressRange& rhs) const { return !((*this) == rhs); }
90 typedef std::vector<AddressRange> AddressRangeVector;
Domap.cc474 void ClipMappedRangeOriginal(const AddressRange& clip_range, in ClipMappedRangeOriginal()
536 int AddressRange::Compare(const AddressRange& rhs) const { in Compare()
604 const AddressRange& original_range, in MapAddressRange()
620 AddressRange query_range(original_range); in MapAddressRange()
672 mapped_ranges->push_back(AddressRange(temp_map[0].rva_transformed, 0)); in MapAddressRange()
675 mapped_ranges->push_back(AddressRange(temp_map[i].rva_transformed, 0)); in MapAddressRange()
698 AddressRange(rva_begin, rva_cur_content - rva_begin)); in MapAddressRange()
710 AddressRange(rva_begin, rva_cur_content - rva_begin)); in MapAddressRange()
/external/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
DRange.h33 struct AddressRange { struct
36 AddressRange() : Start(0), End(0) {} in AddressRange() argument
37 AddressRange(uint64_t S, uint64_t E) : Start(S), End(E) {} in AddressRange() argument
40 bool intersects(const AddressRange &R) const { in intersects() argument
44 bool operator==(const AddressRange &R) const {
47 bool operator!=(const AddressRange &R) const {
50 bool operator<(const AddressRange &R) const {
75 raw_ostream &operator<<(raw_ostream &OS, const AddressRange &R);
86 using Collection = std::vector<AddressRange>;
92 bool contains(AddressRange Range) const;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/
DRange.h32 struct AddressRange { struct
35 AddressRange() : Start(0), End(0) {} in AddressRange() argument
36 AddressRange(uint64_t S, uint64_t E) : Start(S), End(E) {} in AddressRange() argument
39 bool intersects(const AddressRange &R) const { in intersects() argument
43 bool operator==(const AddressRange &R) const {
46 bool operator!=(const AddressRange &R) const {
49 bool operator<(const AddressRange &R) const {
74 raw_ostream &operator<<(raw_ostream &OS, const AddressRange &R);
85 using Collection = std::vector<AddressRange>;
91 bool contains(AddressRange Range) const;
[all …]
/external/llvm-project/lldb/include/lldb/Core/
DAddressRange.h25 class AddressRange {
31 AddressRange();
47 AddressRange(const lldb::SectionSP &section, lldb::addr_t offset,
63 AddressRange(lldb::addr_t file_addr, lldb::addr_t byte_size,
76 AddressRange(const Address &so_addr, lldb::addr_t byte_size);
81 ~AddressRange();
168 bool Extend(const AddressRange &rhs_range);
231 return sizeof(AddressRange); in MemorySize()
DAddressResolver.h48 std::vector<AddressRange> &GetAddressRanges();
52 AddressRange &GetAddressRangeAtIndex(size_t idx);
55 std::vector<AddressRange> m_address_ranges;
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DRange.cpp20 void AddressRanges::insert(AddressRange Range) { in insert()
41 [=](const AddressRange &R) { return R.Start <= Addr; }); in contains()
45 bool AddressRanges::contains(AddressRange Range) const { in contains()
50 [=](const AddressRange &R) { return R.Start <= Range.Start; }); in contains()
56 Optional<AddressRange>
60 [=](const AddressRange &R) { return R.Start <= Addr; }); in getRangeThatContains()
66 raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const AddressRange &R) { in operator <<()
80 void AddressRange::encode(FileWriter &O, uint64_t BaseAddr) const { in encode()
86 void AddressRange::decode(DataExtractor &Data, uint64_t BaseAddr, in decode()
114 void AddressRange::skip(DataExtractor &Data, uint64_t &Offset) { in skip()
[all …]
/external/llvm-project/lldb/source/Commands/
DCommandObjectDisassemble.h77 llvm::Expected<std::vector<AddressRange>>
80 llvm::Expected<std::vector<AddressRange>> GetContainingAddressRanges();
81 llvm::Expected<std::vector<AddressRange>> GetCurrentFunctionRanges();
82 llvm::Expected<std::vector<AddressRange>> GetCurrentLineRanges();
83 llvm::Expected<std::vector<AddressRange>>
85 llvm::Expected<std::vector<AddressRange>> GetPCRanges();
86 llvm::Expected<std::vector<AddressRange>> GetStartEndAddressRanges();
88 llvm::Error CheckRangeSize(const AddressRange &range, llvm::StringRef what);
DCommandObjectDisassemble.cpp223 llvm::Error CommandObjectDisassemble::CheckRangeSize(const AddressRange &range, in CheckRangeSize()
238 llvm::Expected<std::vector<AddressRange>>
240 std::vector<AddressRange> ranges; in GetContainingAddressRanges()
248 AddressRange range; in GetContainingAddressRanges()
284 llvm::Expected<std::vector<AddressRange>>
294 AddressRange range; in GetCurrentFunctionRanges()
304 return std::vector<AddressRange>{range}; in GetCurrentFunctionRanges()
307 llvm::Expected<std::vector<AddressRange>>
319 return std::vector<AddressRange>{pc_line_entry.range}; in GetCurrentLineRanges()
326 llvm::Expected<std::vector<AddressRange>>
[all …]
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator_secondary.h86 ReservedAddressRange AddressRange; in Allocate() local
87 uptr ReservedBeg = AddressRange.Init(ReservedSize, SecondaryAllocatorName); in Allocate()
111 AddressRange.Unmap(ReservedBeg, NewReservedBeg - ReservedBeg); in Allocate()
120 AddressRange.Unmap(NewReservedEnd, ReservedEnd - NewReservedEnd); in Allocate()
128 CHECK_EQ(CommittedBeg, AddressRange.Map(CommittedBeg, CommittedSize)); in Allocate()
131 H->StoredRange = AddressRange; in Allocate()
155 ReservedAddressRange AddressRange = H->StoredRange; in Deallocate() local
164 AddressRange.Unmap(reinterpret_cast<uptr>(AddressRange.base()), in Deallocate()
165 AddressRange.size()); in Deallocate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DRange.cpp20 void AddressRanges::insert(AddressRange Range) { in insert()
41 [=](const AddressRange &R) { return R.Start <= Addr; }); in contains()
45 bool AddressRanges::contains(AddressRange Range) const { in contains()
50 [=](const AddressRange &R) { return R.Start <= Range.Start; }); in contains()
56 raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const AddressRange &R) { in operator <<()
70 void AddressRange::encode(FileWriter &O, uint64_t BaseAddr) const { in encode()
76 void AddressRange::decode(DataExtractor &Data, uint64_t BaseAddr, in decode()
104 void AddressRange::skip(DataExtractor &Data, uint64_t &Offset) { in skip()
112 AddressRange::skip(Data, Offset); in skip()
/external/llvm-project/lldb/unittests/UnwindAssembly/x86/
DTestx86AssemblyInspectionEngine.cpp154 AddressRange sample_range(0x1000, sizeof(data)); in TEST_F()
230 AddressRange sample_range(0x1000, sizeof(data)); in TEST_F()
351 AddressRange sample_range(0x1000, sizeof(data)); in TEST_F()
606 AddressRange sample_range(0x1000, sizeof(data)); in TEST_F()
794 AddressRange sample_range(0x1000, sizeof(data)); in TEST_F()
901 AddressRange sample_range(0x1000, sizeof(data)); in TEST_F()
973 AddressRange sample_range(0x1000, sizeof(data)); in TEST_F()
1017 AddressRange sample_range(0x1000, sizeof(data)); in TEST_F()
1065 AddressRange sample_range(0x1000, sizeof(data)); in TEST_F()
1098 AddressRange sample_range(0x1000, sizeof(data)); in TEST_F()
[all …]
/external/llvm-project/llvm/unittests/DebugInfo/GSYM/
DGSYMTest.cpp147 AddressRange(StartAddr, StartAddr + 0x10)); in TEST()
278 FI.Inline->Ranges.insert(AddressRange(FuncAddr, FuncAddr + FuncSize)); in AddInline()
280 Inline1.Ranges.insert(AddressRange(FuncAddr + 0x10, FuncAddr + 0x30)); in AddInline()
367 II.Ranges.insert(AddressRange(0x1000, 0x2000)); in TEST()
387 Root.Ranges.insert(AddressRange(0x100, 0x200)); in TEST()
389 Inline1.Ranges.insert(AddressRange(0x150, 0x160)); in TEST()
394 Inline1Sub1.Ranges.insert(AddressRange(0x152, 0x155)); in TEST()
399 Inline1Sub2.Ranges.insert(AddressRange(0x157, 0x158)); in TEST()
551 const AddressRange Range(StartAddr, EndAddr); in TEST()
562 const AddressRange RangeSame(StartAddr, EndAddr); in TEST()
[all …]
/external/llvm-project/lldb/include/lldb/Target/
DUnwindAssembly.h24 GetNonCallSiteUnwindPlanFromAssembly(AddressRange &func, Thread &thread,
27 virtual bool AugmentUnwindPlanFromCallSite(AddressRange &func, Thread &thread,
30 virtual bool GetFastUnwindPlan(AddressRange &func, Thread &thread,
36 FirstNonPrologueInsn(AddressRange &func,
DThreadPlanStepRange.h23 const AddressRange &range,
41 void AddRange(const AddressRange &new_range);
66 std::vector<AddressRange> m_address_ranges;
/external/llvm-project/lldb/source/Plugins/UnwindAssembly/x86/
DUnwindAssembly-x86.h22 lldb_private::AddressRange &func, lldb_private::Thread &thread,
26 AugmentUnwindPlanFromCallSite(lldb_private::AddressRange &func,
30 bool GetFastUnwindPlan(lldb_private::AddressRange &func,
37 FirstNonPrologueInsn(lldb_private::AddressRange &func,
Dx86AssemblyInspectionEngine.h68 lldb_private::AddressRange &func_range,
85 lldb_private::AddressRange &func_range,
120 const lldb_private::AddressRange &func_range,
123 const lldb_private::AddressRange &func_range,
/external/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/
DUnwindAssemblyInstEmulation.h23 lldb_private::AddressRange &func, lldb_private::Thread &thread,
27 GetNonCallSiteUnwindPlanFromAssembly(lldb_private::AddressRange &func,
32 AugmentUnwindPlanFromCallSite(lldb_private::AddressRange &func,
36 bool GetFastUnwindPlan(lldb_private::AddressRange &func,
43 FirstNonPrologueInsn(lldb_private::AddressRange &func,
130 lldb_private::AddressRange *m_range_ptr;
/external/llvm-project/lldb/source/Plugins/ObjectFile/PECOFF/
DPECallFrameInfo.h32 lldb_private::AddressRange &range) override;
36 bool GetUnwindPlan(const lldb_private::AddressRange &range,
41 const lldb_private::AddressRange &range) const;
/external/llvm-project/lldb/unittests/UnwindAssembly/ARM64/
DTestArm64InstEmulation.cpp63 AddressRange sample_range; in TEST_F()
86 sample_range = AddressRange(0x1000, sizeof(data)); in TEST_F()
159 AddressRange sample_range; in TEST_F()
203 sample_range = AddressRange(0x1000, sizeof(data)); in TEST_F()
321 AddressRange sample_range; in TEST_F()
357 sample_range = AddressRange(0x1000, sizeof(data)); in TEST_F()
416 AddressRange sample_range; in TEST_F()
484 sample_range = AddressRange(0x1000, sizeof(data)); in TEST_F()
518 AddressRange sample_range; in TEST_F()
597 sample_range = AddressRange(0x1000, sizeof(data)); in TEST_F()
[all …]
/external/llvm-project/lldb/include/lldb/Symbol/
DCallFrameInfo.h20 virtual bool GetAddressRange(Address addr, AddressRange &range) = 0;
23 virtual bool GetUnwindPlan(const AddressRange &range, UnwindPlan &unwind_plan) = 0;
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cpp154 AddressRange *r = ranges_.front(); in clear()
162 void *mem = InternalAlloc(sizeof(AddressRange)); in addAddressRange()
163 AddressRange *r = in addAddressRange()
164 new(mem) AddressRange(beg, end, executable, writable, name); in addAddressRange()
171 for (const AddressRange &r : ranges()) { in containsAddress()

12345