Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAddressRange.h26 uint64_t LowPC; member
34 uint64_t LowPC, uint64_t HighPC,
36 : LowPC(LowPC), HighPC(HighPC), SectionIndex(SectionIndex) {} in LowPC() function
40 bool valid() const { return LowPC <= HighPC; } in valid()
48 if (LowPC == HighPC || RHS.LowPC == RHS.HighPC) in intersects()
50 return LowPC < RHS.HighPC && RHS.LowPC < HighPC; in intersects()
66 LowPC = std::min<uint64_t>(LowPC, RHS.LowPC); in merge()
77 …return std::tie(LHS.SectionIndex, LHS.LowPC, LHS.HighPC) < std::tie(RHS.SectionIndex, RHS.LowPC, R…
82 …return std::tie(LHS.SectionIndex, LHS.LowPC, LHS.HighPC) == std::tie(RHS.SectionIndex, RHS.LowPC, …
H A DDWARFDebugAranges.h35 void appendRange(uint64_t CUOffset, uint64_t LowPC, uint64_t HighPC);
39 explicit Range(uint64_t LowPC, uint64_t HighPC, uint64_t CUOffset) in Range()
40 : LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {} in Range()
43 if (HighPC == -1ULL || HighPC <= LowPC) in setHighPC()
46 Length = HighPC - LowPC; in setHighPC()
51 return LowPC + Length; in HighPC()
56 return LowPC < other.LowPC;
59 uint64_t LowPC; /// Start of address range. member
H A DDWARFDebugLine.h198 uint64_t LowPC; member
216 return !Empty && (LowPC < HighPC) && (FirstRowIndex < LastRowIndex); in isValid()
221 (LowPC <= PC.Address && PC.Address < HighPC); in containsPC()
H A DDWARFDie.h205 std::optional<uint64_t> getHighPC(uint64_t LowPC) const;
209 bool getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC,
/openbsd/gnu/llvm/llvm/tools/llvm-dwarfutil/
H A DDebugInfoLinker.cpp79 if (std::optional<uint64_t> LowPC = in isLiveSubprogram() local
81 if (!isDeadAddress(*LowPC, DIE.getDwarfUnit()->getVersion(), in isLiveSubprogram()
168 bool isInsideExecutableSectionsAddressRange(uint64_t LowPC, in isInsideExecutableSectionsAddressRange() argument
171 TextAddressRanges.getRangeThatContains(LowPC); in isInsideExecutableSectionsAddressRange()
181 if (LowPC == 0) in isBFDDeadAddressRange()
184 if ((Version <= 4) && HighPC && (LowPC == 1 && *HighPC == 1)) in isBFDDeadAddressRange()
187 return !isInsideExecutableSectionsAddressRange(LowPC, HighPC); in isBFDDeadAddressRange()
190 uint64_t isMAXPCDeadAddressRange(uint64_t LowPC, in isMAXPCDeadAddressRange() argument
199 if (!isInsideExecutableSectionsAddressRange(LowPC, HighPC)) in isMAXPCDeadAddressRange()
211 return isBFDDeadAddressRange(LowPC, HighPC, Version); in isDeadAddressRange()
[all …]
/openbsd/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugAranges.cpp39 uint64_t LowPC = Desc.Address; in extract() local
41 appendRange(CUOffset, LowPC, HighPC); in extract()
69 appendRange(CUOffset, R.LowPC, R.HighPC); in generate()
82 void DWARFDebugAranges::appendRange(uint64_t CUOffset, uint64_t LowPC, in appendRange() argument
84 if (LowPC >= HighPC) in appendRange()
86 Endpoints.emplace_back(LowPC, CUOffset, true); in appendRange()
127 if (It != Aranges.end() && It->LowPC <= Address) in findAddress()
H A 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()
H A DDWARFDebugLoc.cpp64 std::optional<SectionedAddress> LowPC = LookupAddr(E.Value0); in Interpret() local
65 if (!LowPC) in Interpret()
71 DWARFAddressRange{LowPC->Address, HighPC->Address, LowPC->SectionIndex}, in Interpret()
75 std::optional<SectionedAddress> LowPC = LookupAddr(E.Value0); in Interpret() local
76 if (!LowPC) in Interpret()
78 return DWARFLocationExpression{DWARFAddressRange{LowPC->Address, in Interpret()
79 LowPC->Address + E.Value1, in Interpret()
80 LowPC->SectionIndex}, in Interpret()
H A DDWARFDebugRangeList.cpp100 E.LowPC = RLE.StartAddress; in getAbsoluteRanges()
101 if (E.LowPC == Tombstone) in getAbsoluteRanges()
111 E.LowPC += BaseAddr->Address; in getAbsoluteRanges()
H A DDWARFDie.cpp169 uint64_t LowPC, HighPC, Index; in dumpAttribute() local
170 if (Die.getLowAndHighPC(LowPC, HighPC, Index)) in dumpAttribute()
343 std::optional<uint64_t> DWARFDie::getHighPC(uint64_t LowPC) const { in getHighPC()
345 if (LowPC == Tombstone) in getHighPC()
354 return LowPC + *Offset; in getHighPC()
360 bool DWARFDie::getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC, in getLowAndHighPC() argument
367 LowPC = LowPcAddr->Address; in getLowAndHighPC()
379 uint64_t LowPC, HighPC, Index; in getAddressRanges() local
380 if (getLowAndHighPC(LowPC, HighPC, Index)) in getAddressRanges()
381 return DWARFAddressRangesVector{{LowPC, HighPC, Index}}; in getAddressRanges()
[all …]
H A DDWARFAddressRange.cpp21 DWARFFormValue::dumpAddress(OS, AddressSize, LowPC); in dump()
H A DDWARFUnit.cpp726 if (R.LowPC == R.HighPC) in updateAddressDieMap()
728 auto B = AddrDieMap.upper_bound(R.LowPC); in updateAddressDieMap()
729 if (B != AddrDieMap.begin() && R.LowPC < (--B)->second.first) { in updateAddressDieMap()
734 if (R.LowPC > B->first) in updateAddressDieMap()
735 AddrDieMap[B->first].first = R.LowPC; in updateAddressDieMap()
737 AddrDieMap[R.LowPC] = std::make_pair(R.HighPC, Die); in updateAddressDieMap()
H A DDWARFVerifier.cpp92 bool Covered = I1->LowPC <= R.LowPC; in contains()
93 if (R.LowPC == R.HighPC || (Covered && R.HighPC <= I1->HighPC)) { in contains()
101 if (R.LowPC < I1->HighPC) in contains()
102 R.LowPC = I1->HighPC; in contains()
114 if (I1->LowPC < I2->LowPC) in intersects()
H A DDWARFDebugLine.cpp506 LowPC = 0; in reset()
556 Sequence.LowPC = Row.Address.Address; in appendRowToMatrix()
1307 while (SeqPos != LastSeq && SeqPos->LowPC < EndAddr) { in lookupAddressRangeImpl()
/openbsd/gnu/llvm/libunwind/src/
H A 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()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVSymbol.cpp65 void LVSymbol::addLocation(dwarf::Attribute Attr, LVAddress LowPC, in addLocation() argument
77 CurrentLocation->addObject(LowPC, HighPC, SectionOffset, LocDescOffset); in addLocation()
105 LVAddress LowPC, in addLocationGap() argument
111 Gap->addObject(LowPC, HighPC, in addLocationGap()
144 LVAddress LowPC = 0; in fillLocationGaps() local
149 LowPC = Location->getLowerAddress(); in fillLocationGaps()
150 if (LowPC != Marker) { in fillLocationGaps()
152 Iter = addLocationGap(Iter, Marker, LowPC - 1); in fillLocationGaps()
H A DLVRange.cpp74 LVAddress LowPC = Location->getLowerAddress(); in addEntry() local
76 if (!hasEntry(LowPC, HighPC)) in addEntry()
78 addEntry(Scope, LowPC, HighPC); in addEntry()
H A DLVLocation.cpp561 void LVLocationSymbol::addObject(LVAddress LowPC, LVAddress HighPC, in addObject() argument
564 setLowerAddress(LowPC); in addObject()
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVLocation.h98 LVAddress LowPC = 0; variable
137 LVAddress getLowerAddress() const override { return LowPC; } in getLowerAddress()
138 void setLowerAddress(LVAddress Address) override { LowPC = Address; } in setLowerAddress()
155 virtual void addObject(LVAddress LowPC, LVAddress HighPC, in addObject() argument
185 void addObject(LVAddress LowPC, LVAddress HighPC, LVUnsigned SectionOffset,
H A DLVSymbol.h64 LVAddress LowPC, LVAddress HighPC);
131 void addLocation(dwarf::Attribute Attr, LVAddress LowPC, LVAddress HighPC,
H A DLVScope.h508 void addPublicName(LVScope *Scope, LVAddress LowPC, LVAddress HighPC) { in addPublicName() argument
510 std::forward_as_tuple(LowPC, HighPC - LowPC)); in addPublicName()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp225 if (FuncRange.LowPC <= Range.LowPC && Range.HighPC <= FuncRange.HighPC) in parseInlineInfo()
226 II.Ranges.insert(AddressRange(Range.LowPC, Range.HighPC)); in parseInlineInfo()
381 if (Range.LowPC >= Range.HighPC || CUI.isHighestAddress(Range.LowPC)) in handleDie()
388 if (!Gsym.IsValidTextAddress(Range.LowPC)) { in handleDie()
393 if (Range.LowPC != 0) { in handleDie()
407 FI.Range = {Range.LowPC, Range.HighPC}; in handleDie()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVELFReader.cpp464 if (Range.LowPC == Range.HighPC) in processOneAttribute()
470 CurrentScope->addObject(Range.LowPC, Range.HighPC); in processOneAttribute()
473 CurrentRanges.emplace_back(Range.LowPC, Range.HighPC); in processOneAttribute()
1023 LVAddress LowPC = 0; in processLocationList() local
1032 LowPC = BaseAddr + Entry.Value0; in processLocationList()
1034 DWARFAddressRange Range{LowPC, HighPC, Entry.SectionIndex}; in processLocationList()
1046 CurrentSymbol->addLocation(Attr, LowPC, HighPC, Offset, OffsetOnEntry, in processLocationList()
/openbsd/gnu/llvm/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp253 uint64_t Lower = std::max(A.LowPC, B.LowPC); in calculateOverlap()
369 TotalBytesCovered += Entry.Range->HighPC - Entry.Range->LowPC; in collectStatsForDie()
557 BytesInThisScope += Range.HighPC - Range.LowPC; in collectStatsRecursive()
/openbsd/gnu/llvm/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerCompileUnit.h187 void addFunctionRange(uint64_t LowPC, uint64_t HighPC, int64_t PCOffset);

12