Home
last modified time | relevance | path

Searched refs:HighPC (Results 1 – 25 of 30) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAddressRange.h27 uint64_t HighPC; member
34 uint64_t LowPC, uint64_t HighPC,
36 : LowPC(LowPC), HighPC(HighPC), SectionIndex(SectionIndex) {} in LowPC()
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()
67 HighPC = std::max<uint64_t>(HighPC, RHS.HighPC); in merge()
77 …turn std::tie(LHS.SectionIndex, LHS.LowPC, LHS.HighPC) < std::tie(RHS.SectionIndex, RHS.LowPC, RHS…
82 …turn std::tie(LHS.SectionIndex, LHS.LowPC, LHS.HighPC) == std::tie(RHS.SectionIndex, RHS.LowPC, RH…
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()
42 void setHighPC(uint64_t HighPC) { in setHighPC()
43 if (HighPC == -1ULL || HighPC <= LowPC) in setHighPC()
46 Length = HighPC - LowPC; in setHighPC()
49 uint64_t HighPC() const { in HighPC() function
H A DDWARFDebugLine.h199 uint64_t HighPC; member
211 return std::tie(LHS.SectionIndex, LHS.HighPC) < in orderByHighPC()
212 std::tie(RHS.SectionIndex, RHS.HighPC); in orderByHighPC()
216 return !Empty && (LowPC < HighPC) && (FirstRowIndex < LastRowIndex); in isValid()
221 (LowPC <= PC.Address && PC.Address < HighPC); in containsPC()
H A DDWARFDie.h209 bool getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC,
/openbsd-src/gnu/llvm/llvm/tools/llvm-dwarfutil/
H A DDebugInfoLinker.cpp62 if (!isDeadAddressRange(Range.LowPC, Range.HighPC, CU->getVersion(), in ObjFileAddressMap()
64 DWARFAddressRanges.insert({Range.LowPC, Range.HighPC}, 0); in ObjFileAddressMap()
169 std::optional<uint64_t> HighPC) { in isInsideExecutableSectionsAddressRange() argument
173 if (HighPC) in isInsideExecutableSectionsAddressRange()
174 return Range.has_value() && Range->end() >= *HighPC; in isInsideExecutableSectionsAddressRange()
179 uint64_t isBFDDeadAddressRange(uint64_t LowPC, std::optional<uint64_t> HighPC, in isBFDDeadAddressRange() argument
184 if ((Version <= 4) && HighPC && (LowPC == 1 && *HighPC == 1)) in isBFDDeadAddressRange()
187 return !isInsideExecutableSectionsAddressRange(LowPC, HighPC); in isBFDDeadAddressRange()
191 std::optional<uint64_t> HighPC, in isMAXPCDeadAddressRange() argument
193 if (Version <= 4 && HighPC) { in isMAXPCDeadAddressRange()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugAranges.cpp40 uint64_t HighPC = Desc.getEndAddress(); in extract() local
41 appendRange(CUOffset, LowPC, HighPC); in extract()
69 appendRange(CUOffset, R.LowPC, R.HighPC); in generate()
83 uint64_t HighPC) { in appendRange() argument
84 if (LowPC >= HighPC) in appendRange()
87 Endpoints.emplace_back(HighPC, CUOffset, false); in appendRange()
100 if (!Aranges.empty() && Aranges.back().HighPC() == PrevAddress && in construct()
126 partition_point(Aranges, [=](Range R) { return R.HighPC() <= Address; }); in findAddress()
H A DDWARFDebugRnglists.cpp125 E.HighPC = RLE.Value1; in getAbsoluteRanges()
130 E.HighPC += BaseAddr->Address; in getAbsoluteRanges()
135 E.HighPC = RLE.Value1; in getAbsoluteRanges()
139 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
147 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
160 E.HighPC = End->Address; in getAbsoluteRanges()
H A DDWARFDie.cpp169 uint64_t LowPC, HighPC, Index; in dumpAttribute() local
170 if (Die.getLowAndHighPC(LowPC, HighPC, Index)) in dumpAttribute()
171 DWARFFormValue::dumpAddress(OS, U->getAddressByteSize(), HighPC); in dumpAttribute()
360 bool DWARFDie::getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC, in getLowAndHighPC() argument
368 HighPC = *HighPcAddr; 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()
400 if (R.LowPC <= Address && Address < R.HighPC) in addressRangeContainsAddress()
H A DDWARFDebugRangeList.cpp103 E.HighPC = RLE.EndAddress; in getAbsoluteRanges()
112 E.HighPC += BaseAddr->Address; in getAbsoluteRanges()
H A DDWARFAddressRange.cpp23 DWARFFormValue::dumpAddress(OS, AddressSize, HighPC); in dump()
H A DDWARFDebugLoc.cpp67 std::optional<SectionedAddress> HighPC = LookupAddr(E.Value1); in Interpret() local
68 if (!HighPC) in Interpret()
71 DWARFAddressRange{LowPC->Address, HighPC->Address, LowPC->SectionIndex}, in Interpret()
H A DDWARFVerifier.cpp93 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()
H A DDWARFUnit.cpp726 if (R.LowPC == R.HighPC) in updateAddressDieMap()
732 if (R.HighPC < B->second.first) in updateAddressDieMap()
733 AddrDieMap[R.HighPC] = B->second; in updateAddressDieMap()
737 AddrDieMap[R.LowPC] = std::make_pair(R.HighPC, Die); in updateAddressDieMap()
H A DDWARFDebugLine.cpp507 HighPC = 0; in reset()
562 Sequence.HighPC = Row.Address.Address; in appendRowToMatrix()
1262 Sequence.HighPC = Address.Address; in lookupAddressImpl()
1295 Sequence.HighPC = Address.Address; in lookupAddressRangeImpl()
/openbsd-src/gnu/llvm/libunwind/src/
H A DFrameHeaderCache.hpp35 uintptr_t HighPC() { return Info.dso_base + Info.text_segment_length; }; in HighPC() function
98 Current->LowPC(), Current->HighPC()); in find()
100 CBData->targetAddr < Current->HighPC()) { in find()
103 Current->LowPC(), Current->HighPC()); in find()
137 Current->LowPC(), Current->HighPC()); in add()
145 MostRecentlyUsed->HighPC()); in add()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVLocation.h99 LVAddress HighPC = 0; variable
139 LVAddress getUpperAddress() const override { return HighPC; } in getUpperAddress()
140 void setUpperAddress(LVAddress Address) override { HighPC = Address; } in setUpperAddress()
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-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVRange.cpp75 LVAddress HighPC = Location->getUpperAddress(); in addEntry() local
76 if (!hasEntry(LowPC, HighPC)) in addEntry()
78 addEntry(Scope, LowPC, HighPC); in addEntry()
H A DLVSymbol.cpp66 LVAddress HighPC, LVUnsigned SectionOffset, in addLocation() argument
77 CurrentLocation->addObject(LowPC, HighPC, SectionOffset, LocDescOffset); in addLocation()
106 LVAddress HighPC) { in addLocationGap() argument
111 Gap->addObject(LowPC, HighPC, in addLocationGap()
H A DLVLocation.cpp561 void LVLocationSymbol::addObject(LVAddress LowPC, LVAddress HighPC, in addObject() argument
565 setUpperAddress(HighPC); in addObject()
571 if (HighPC == LVAddress(UINT64_MAX)) in addObject()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVELFReader.cpp464 if (Range.LowPC == Range.HighPC) in processOneAttribute()
467 if (UpdateHighAddress && Range.HighPC > 0) in processOneAttribute()
468 --Range.HighPC; in processOneAttribute()
470 CurrentScope->addObject(Range.LowPC, Range.HighPC); in processOneAttribute()
473 CurrentRanges.emplace_back(Range.LowPC, Range.HighPC); in processOneAttribute()
1024 LVAddress HighPC = 0; in processLocationList() local
1033 HighPC = BaseAddr + Entry.Value1; in processLocationList()
1034 DWARFAddressRange Range{LowPC, HighPC, Entry.SectionIndex}; in processLocationList()
1043 if (UpdateHighAddress && HighPC > 0) in processLocationList()
1044 --HighPC; in processLocationList()
[all …]
/openbsd-src/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()
407 FI.Range = {Range.LowPC, Range.HighPC}; in handleDie()
/openbsd-src/gnu/llvm/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp254 uint64_t Upper = std::min(A.HighPC, B.HighPC); in calculateOverlap()
369 TotalBytesCovered += Entry.Range->HighPC - Entry.Range->LowPC; in collectStatsForDie()
557 BytesInThisScope += Range.HighPC - Range.LowPC; in collectStatsRecursive()
/openbsd-src/gnu/llvm/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerCompileUnit.h187 void addFunctionRange(uint64_t LowPC, uint64_t HighPC, int64_t PCOffset);

12