Home
last modified time | relevance | path

Searched refs:LowPC (Results 1 – 25 of 43) sorted by relevance

12

/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAddressRange.h23 uint64_t LowPC; member
31 uint64_t LowPC, uint64_t HighPC,
33 : LowPC(LowPC), HighPC(HighPC), SectionIndex(SectionIndex) {} in LowPC() function
37 bool valid() const { return LowPC <= HighPC; } in valid()
43 if (LowPC == HighPC || RHS.LowPC == RHS.HighPC) in intersects()
45 return LowPC < RHS.HighPC && RHS.LowPC < HighPC; in intersects()
61 LowPC = std::min<uint64_t>(LowPC, RHS.LowPC); in merge()
72 return std::tie(LHS.LowPC, LHS.HighPC) < std::tie(RHS.LowPC, RHS.HighPC);
77 return std::tie(LHS.LowPC, LHS.HighPC) == std::tie(RHS.LowPC, RHS.HighPC);
DDWARFDebugAranges.h32 void appendRange(uint64_t CUOffset, uint64_t LowPC, uint64_t HighPC);
36 explicit Range(uint64_t LowPC, uint64_t HighPC, uint64_t CUOffset) in Range()
37 : LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {} in Range()
40 if (HighPC == -1ULL || HighPC <= LowPC) in setHighPC()
43 Length = HighPC - LowPC; in setHighPC()
48 return LowPC + Length; in HighPC()
53 return LowPC < other.LowPC;
56 uint64_t LowPC; /// Start of address range. member
DDWARFDebugLine.h206 uint64_t LowPC; member
224 return !Empty && (LowPC < HighPC) && (FirstRowIndex < LastRowIndex); in isValid()
229 (LowPC <= PC.Address && PC.Address < HighPC); in containsPC()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAddressRange.h23 uint64_t LowPC; member
31 uint64_t LowPC, uint64_t HighPC,
33 : LowPC(LowPC), HighPC(HighPC), SectionIndex(SectionIndex) {} in LowPC() function
37 bool valid() const { return LowPC <= HighPC; } in valid()
43 if (LowPC == HighPC || RHS.LowPC == RHS.HighPC) in intersects()
45 return LowPC < RHS.HighPC && RHS.LowPC < HighPC; in intersects()
54 return std::tie(LHS.LowPC, LHS.HighPC) < std::tie(RHS.LowPC, RHS.HighPC);
59 return std::tie(LHS.LowPC, LHS.HighPC) == std::tie(RHS.LowPC, RHS.HighPC);
DDWARFDebugAranges.h31 void appendRange(uint64_t CUOffset, uint64_t LowPC, uint64_t HighPC);
35 explicit Range(uint64_t LowPC = -1ULL, uint64_t HighPC = -1ULL,
37 : LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {} in LowPC() function
40 if (HighPC == -1ULL || HighPC <= LowPC) in setHighPC()
43 Length = HighPC - LowPC; in setHighPC()
48 return LowPC + Length; in HighPC()
53 return LowPC < other.LowPC;
56 uint64_t LowPC; /// Start of address range. member
DDWARFDebugLine.h211 uint64_t LowPC; member
229 return !Empty && (LowPC < HighPC) && (FirstRowIndex < LastRowIndex); in isValid()
234 (LowPC <= PC.Address && PC.Address < HighPC); in containsPC()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugAranges.h31 void appendRange(uint32_t CUOffset, uint64_t LowPC, uint64_t HighPC);
35 explicit Range(uint64_t LowPC = -1ULL, uint64_t HighPC = -1ULL,
37 : LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {} in LowPC() function
40 if (HighPC == -1ULL || HighPC <= LowPC) in setHighPC()
43 Length = HighPC - LowPC; in setHighPC()
47 return LowPC + Length; in HighPC()
52 return LowPC <= Address && Address < HighPC(); in containsAddress()
55 return LowPC < other.LowPC;
58 uint64_t LowPC; // Start of address range. member
DDWARFDebugLine.h151 uint64_t LowPC; member
161 return LHS.LowPC < RHS.LowPC; in orderByLowPC()
164 return !Empty && (LowPC < HighPC) && (FirstRowIndex < LastRowIndex); in isValid()
167 return (LowPC <= pc && pc < HighPC); in containsPC()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAranges.cpp32 uint64_t LowPC = Desc.Address; in extract() local
34 appendRange(CUOffset, LowPC, HighPC); in extract()
61 appendRange(CUOffset, R.LowPC, R.HighPC); in generate()
74 void DWARFDebugAranges::appendRange(uint64_t CUOffset, uint64_t LowPC, in appendRange() argument
76 if (LowPC >= HighPC) in appendRange()
78 Endpoints.emplace_back(LowPC, CUOffset, true); in appendRange()
119 if (It != Aranges.end() && It->LowPC <= Address) in findAddress()
DDWARFDebugRnglists.cpp148 E.LowPC = RLE.Value0; in getAbsoluteRanges()
151 E.LowPC += BaseAddr->Address; in getAbsoluteRanges()
156 E.LowPC = RLE.Value0; in getAbsoluteRanges()
160 E.LowPC = RLE.Value0; in getAbsoluteRanges()
161 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
168 E.LowPC = Start->Address; in getAbsoluteRanges()
169 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
DDWARFDebugLoc.cpp61 Optional<SectionedAddress> LowPC = LookupAddr(E.Value0); in Interpret() local
62 if (!LowPC) in Interpret()
68 DWARFAddressRange{LowPC->Address, HighPC->Address, LowPC->SectionIndex}, in Interpret()
72 Optional<SectionedAddress> LowPC = LookupAddr(E.Value0); in Interpret() local
73 if (!LowPC) in Interpret()
75 return DWARFLocationExpression{DWARFAddressRange{LowPC->Address, in Interpret()
76 LowPC->Address + E.Value1, in Interpret()
77 LowPC->SectionIndex}, in Interpret()
DDWARFDie.cpp276 uint64_t LowPC, HighPC, Index; in dumpAttribute() local
277 if (Die.getLowAndHighPC(LowPC, HighPC, Index)) in dumpAttribute()
417 Optional<uint64_t> DWARFDie::getHighPC(uint64_t LowPC) const { in getHighPC()
425 return LowPC + *Offset; in getHighPC()
431 bool DWARFDie::getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC, in getLowAndHighPC() argument
438 LowPC = LowPcAddr->Address; in getLowAndHighPC()
450 uint64_t LowPC, HighPC, Index; in getAddressRanges() local
451 if (getLowAndHighPC(LowPC, HighPC, Index)) in getAddressRanges()
452 return DWARFAddressRangesVector{{LowPC, HighPC, Index}}; in getAddressRanges()
487 if (R.LowPC <= Address && Address < R.HighPC) in addressRangeContainsAddress()
DDWARFDebugRangeList.cpp80 E.LowPC = RLE.StartAddress; in getAbsoluteRanges()
87 E.LowPC += BaseAddr->Address; in getAbsoluteRanges()
DDWARFAddressRange.cpp21 OS << format("0x%*.*" PRIx64 ", ", AddressSize * 2, AddressSize * 2, LowPC) in dump()
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAranges.cpp38 uint64_t LowPC = Desc.Address; in extract() local
40 appendRange(CUOffset, LowPC, HighPC); in extract()
67 appendRange(CUOffset, R.LowPC, R.HighPC); in generate()
80 void DWARFDebugAranges::appendRange(uint64_t CUOffset, uint64_t LowPC, in appendRange() argument
82 if (LowPC >= HighPC) in appendRange()
84 Endpoints.emplace_back(LowPC, CUOffset, true); in appendRange()
125 if (It != Aranges.end() && It->LowPC <= Address) in findAddress()
DDWARFDebugRnglists.cpp122 E.LowPC = RLE.Value0; in getAbsoluteRanges()
123 if (E.LowPC == Tombstone) in getAbsoluteRanges()
129 E.LowPC += BaseAddr->Address; in getAbsoluteRanges()
134 E.LowPC = RLE.Value0; in getAbsoluteRanges()
138 E.LowPC = RLE.Value0; in getAbsoluteRanges()
139 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
146 E.LowPC = Start->Address; in getAbsoluteRanges()
147 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
159 E.LowPC = Start->Address; in getAbsoluteRanges()
168 if (E.LowPC == Tombstone) in getAbsoluteRanges()
DDWARFDebugLoc.cpp61 Optional<SectionedAddress> LowPC = LookupAddr(E.Value0); in Interpret() local
62 if (!LowPC) in Interpret()
68 DWARFAddressRange{LowPC->Address, HighPC->Address, LowPC->SectionIndex}, in Interpret()
72 Optional<SectionedAddress> LowPC = LookupAddr(E.Value0); in Interpret() local
73 if (!LowPC) in Interpret()
75 return DWARFLocationExpression{DWARFAddressRange{LowPC->Address, in Interpret()
76 LowPC->Address + E.Value1, in Interpret()
77 LowPC->SectionIndex}, in Interpret()
DDWARFDebugRangeList.cpp83 E.LowPC = RLE.StartAddress; in getAbsoluteRanges()
84 if (E.LowPC == Tombstone) in getAbsoluteRanges()
94 E.LowPC += BaseAddr->Address; in getAbsoluteRanges()
DDWARFDie.cpp285 uint64_t LowPC, HighPC, Index; in dumpAttribute() local
286 if (Die.getLowAndHighPC(LowPC, HighPC, Index)) in dumpAttribute()
427 Optional<uint64_t> DWARFDie::getHighPC(uint64_t LowPC) const { in getHighPC()
429 if (LowPC == Tombstone) in getHighPC()
438 return LowPC + *Offset; in getHighPC()
444 bool DWARFDie::getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC, in getLowAndHighPC() argument
451 LowPC = LowPcAddr->Address; in getLowAndHighPC()
463 uint64_t LowPC, HighPC, Index; in getAddressRanges() local
464 if (getLowAndHighPC(LowPC, HighPC, Index)) in getAddressRanges()
465 return DWARFAddressRangesVector{{LowPC, HighPC, Index}}; in getAddressRanges()
[all …]
DDWARFAddressRange.cpp21 DWARFFormValue::dumpAddress(OS, AddressSize, LowPC); in dump()
/external/llvm-project/libunwind/src/
DFrameHeaderCache.hpp34 uintptr_t LowPC() { return Info.dso_base; }; in LowPC() function
98 Current->LowPC(), Current->HighPC()); in find()
99 if (Current->LowPC() <= CBData->targetAddr && in find()
103 Current->LowPC(), Current->HighPC()); in find()
137 Current->LowPC(), Current->HighPC()); in add()
144 MostRecentlyUsed->LowPC(), in add()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAranges.cpp30 uint64_t LowPC = Desc.Address; in extract() local
32 appendRange(CUOffset, LowPC, HighPC); in extract()
70 void DWARFDebugAranges::appendRange(uint32_t CUOffset, uint64_t LowPC, in appendRange() argument
72 if (LowPC >= HighPC) in appendRange()
74 Endpoints.emplace_back(LowPC, CUOffset, true); in appendRange()
DDWARFDebugInfoEntry.cpp315 uint64_t &LowPC, in getLowAndHighPC() argument
317 LowPC = getAttributeValueAsAddress(U, DW_AT_low_pc, -1ULL); in getLowAndHighPC()
318 if (LowPC == -1ULL) in getLowAndHighPC()
326 HighPC += LowPC; in getLowAndHighPC()
336 uint64_t LowPC, HighPC; in getAddressRanges() local
337 if (getLowAndHighPC(U, LowPC, HighPC)) { in getAddressRanges()
338 return DWARFAddressRangesVector(1, std::make_pair(LowPC, HighPC)); in getAddressRanges()
DDWARFDebugLine.cpp166 LowPC = 0; in reset()
209 Sequence.LowPC = Row.Address; in appendRowToMatrix()
558 sequence.LowPC = address; in lookupAddress()
566 } else if (seq_pos->LowPC == address) { in lookupAddress()
583 sequence.LowPC = address; in lookupAddressRange()
588 if (seq_pos == last_seq || seq_pos->LowPC != address) { in lookupAddressRange()
601 while (seq_pos != last_seq && seq_pos->LowPC < end_addr) { in lookupAddressRange()
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DDwarfTransformer.cpp224 if (FuncRange.LowPC <= Range.LowPC && Range.HighPC <= FuncRange.HighPC) in parseInlineInfo()
225 II.Ranges.insert(AddressRange(Range.LowPC, Range.HighPC)); in parseInlineInfo()
380 if (Range.LowPC >= Range.HighPC || CUI.isHighestAddress(Range.LowPC)) in handleDie()
387 if (!Gsym.IsValidTextAddress(Range.LowPC)) { in handleDie()
392 if (Range.LowPC != 0) { in handleDie()
403 FI.setStartAddress(Range.LowPC); in handleDie()

12