Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAddressRange.h23 uint64_t LowPC; member
30 DWARFAddressRange(uint64_t LowPC, uint64_t HighPC, uint64_t SectionIndex = 0)
31 : LowPC(LowPC), HighPC(HighPC), SectionIndex(SectionIndex) {} in LowPC() function
35 bool valid() const { return LowPC <= HighPC; } in valid()
41 if (LowPC == HighPC || RHS.LowPC == RHS.HighPC) in intersects()
43 return LowPC < RHS.HighPC && RHS.LowPC < HighPC; in intersects()
49 return LowPC <= RHS.LowPC && RHS.HighPC <= HighPC; in contains()
58 return std::tie(LHS.LowPC, LHS.HighPC) < std::tie(RHS.LowPC, RHS.HighPC);
DDWARFDebugAranges.h32 void appendRange(uint32_t CUOffset, uint64_t LowPC, uint64_t HighPC);
36 explicit Range(uint64_t LowPC = -1ULL, uint64_t HighPC = -1ULL,
38 : LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {} in LowPC() function
41 if (HighPC == -1ULL || HighPC <= LowPC) in setHighPC()
44 Length = HighPC - LowPC; in setHighPC()
49 return LowPC + Length; in HighPC()
54 return LowPC <= Address && Address < HighPC(); in containsAddress()
58 return LowPC < other.LowPC;
61 uint64_t LowPC; /// Start of address range. member
DDWARFDebugLine.h194 uint64_t LowPC; member
203 return LHS.LowPC < RHS.LowPC; in orderByLowPC()
207 return !Empty && (LowPC < HighPC) && (FirstRowIndex < LastRowIndex); in isValid()
210 bool containsPC(uint64_t PC) const { return (LowPC <= PC && PC < HighPC); } in containsPC()
DDWARFDie.h202 Optional<uint64_t> getHighPC(uint64_t LowPC) const;
206 bool getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC,
/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()
DDWARFDebugInfoEntry.h113 bool getLowAndHighPC(const DWARFUnit *U, uint64_t &LowPC,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAranges.cpp32 uint64_t LowPC = Desc.Address; in extract() local
34 appendRange(CUOffset, LowPC, HighPC); in extract()
59 appendRange(CUOffset, R.LowPC, R.HighPC); in generate()
72 void DWARFDebugAranges::appendRange(uint32_t CUOffset, uint64_t LowPC, in appendRange() argument
74 if (LowPC >= HighPC) in appendRange()
76 Endpoints.emplace_back(LowPC, CUOffset, true); in appendRange()
DDWARFDebugRnglists.cpp128 E.LowPC = RLE.Value0; in getAbsoluteRanges()
131 E.LowPC += BaseAddr->Address; in getAbsoluteRanges()
136 E.LowPC = RLE.Value0; in getAbsoluteRanges()
140 E.LowPC = RLE.Value0; in getAbsoluteRanges()
141 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
DDWARFDie.cpp234 uint64_t LowPC, HighPC, Index; in dumpAttribute() local
235 if (Die.getLowAndHighPC(LowPC, HighPC, Index)) in dumpAttribute()
363 Optional<uint64_t> DWARFDie::getHighPC(uint64_t LowPC) const { in getHighPC()
371 return LowPC + *Offset; in getHighPC()
377 bool DWARFDie::getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC, in getLowAndHighPC() argument
384 LowPC = *LowPcAddr; in getLowAndHighPC()
396 uint64_t LowPC, HighPC, Index; in getAddressRanges() local
397 if (getLowAndHighPC(LowPC, HighPC, Index)) in getAddressRanges()
398 return DWARFAddressRangesVector{{LowPC, HighPC, Index}}; in getAddressRanges()
433 if (R.LowPC <= Address && Address < R.HighPC) in addressRangeContainsAddress()
DDWARFDebugRangeList.cpp86 E.LowPC = RLE.StartAddress; in getAbsoluteRanges()
93 E.LowPC += BaseAddr->Address; in getAbsoluteRanges()
DDWARFUnit.cpp481 if (R.LowPC == R.HighPC) in updateAddressDieMap()
483 auto B = AddrDieMap.upper_bound(R.LowPC); in updateAddressDieMap()
484 if (B != AddrDieMap.begin() && R.LowPC < (--B)->second.first) { in updateAddressDieMap()
489 if (R.LowPC > B->first) in updateAddressDieMap()
490 AddrDieMap[B->first].first = R.LowPC; in updateAddressDieMap()
492 AddrDieMap[R.LowPC] = std::make_pair(R.HighPC, Die); in updateAddressDieMap()
DDWARFDebugLine.cpp403 LowPC = 0; in reset()
445 Sequence.LowPC = Row.Address; in appendRowToMatrix()
898 Sequence.LowPC = Address; in lookupAddress()
906 } else if (SeqPos->LowPC == Address) { in lookupAddress()
923 Sequence.LowPC = Address; in lookupAddressRange()
928 if (SeqPos == LastSeq || SeqPos->LowPC != Address) { in lookupAddressRange()
941 while (SeqPos != LastSeq && SeqPos->LowPC < EndAddr) { in lookupAddressRange()
DDWARFAddressRange.cpp21 OS << format("0x%*.*" PRIx64 ", ", AddressSize * 2, AddressSize * 2, LowPC) in dump()
DDWARFVerifier.cpp98 if (R.HighPC <= Iter->LowPC) in intersects()
/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/
DStatistics.cpp44 return Ranges[0].LowPC; in getLowPC()
155 BytesInThisScope += Range.HighPC - Range.LowPC; in collectStatsRecursive()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DCompileUnit.h175 void addFunctionRange(uint64_t LowPC, uint64_t HighPC, int64_t PCOffset);
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/
DDWARFDebugInfoTest.cpp889 uint64_t LowPC, HighPC, SectionIndex; in TestAddresses() local
900 EXPECT_FALSE(SubprogramDieNoPC.getLowAndHighPC(LowPC, HighPC, SectionIndex)); in TestAddresses()
907 EXPECT_FALSE(SubprogramDieNoPC.getLowAndHighPC(LowPC, HighPC, SectionIndex)); in TestAddresses()
924 EXPECT_FALSE(SubprogramDieLowPC.getLowAndHighPC(LowPC, HighPC, SectionIndex)); in TestAddresses()
958 EXPECT_TRUE(SubprogramDieLowHighPC.getLowAndHighPC(LowPC, HighPC, SectionIndex)); in TestAddresses()
959 EXPECT_EQ(LowPC, ActualLowPC); in TestAddresses()
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp283 void addFunctionRange(uint64_t LowPC, uint64_t HighPC, int64_t PCOffset);