Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/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.h203 uint64_t HighPC; member
215 return std::tie(LHS.SectionIndex, LHS.HighPC) < in orderByHighPC()
216 std::tie(RHS.SectionIndex, RHS.HighPC); in orderByHighPC()
220 return !Empty && (LowPC < HighPC) && (FirstRowIndex < LastRowIndex); in isValid()
225 (LowPC <= PC.Address && PC.Address < HighPC); in containsPC()
H A DDWARFDie.h209 bool getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC,
/freebsd/contrib/llvm-project/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.cpp171 uint64_t LowPC, HighPC, Index; in dumpAttribute() local
172 if (Die.getLowAndHighPC(LowPC, HighPC, Index)) in dumpAttribute()
173 DWARFFormValue::dumpAddress(OS, U->getAddressByteSize(), HighPC); in dumpAttribute()
362 bool DWARFDie::getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC, in getLowAndHighPC() argument
370 HighPC = *HighPcAddr; in getLowAndHighPC()
381 uint64_t LowPC, HighPC, Index; in getAddressRanges() local
382 if (getLowAndHighPC(LowPC, HighPC, Index)) in getAddressRanges()
383 return DWARFAddressRangesVector{{LowPC, HighPC, Index}}; in getAddressRanges()
402 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 DDWARFUnit.cpp738 if (R.LowPC == R.HighPC) in updateAddressDieMap()
744 if (R.HighPC < B->second.first) in updateAddressDieMap()
745 AddrDieMap[R.HighPC] = B->second; in updateAddressDieMap()
749 AddrDieMap[R.LowPC] = std::make_pair(R.HighPC, Die); in updateAddressDieMap()
H A DDWARFDebugLine.cpp530 HighPC = 0; in reset()
585 Sequence.HighPC = Row.Address.Address; in appendRowToMatrix()
1335 Sequence.HighPC = Address.Address; in lookupAddressImpl()
1368 Sequence.HighPC = Address.Address; in lookupAddressRangeImpl()
H A DDWARFVerifier.cpp96 if (R.LowPC == R.HighPC || (Covered && R.HighPC <= I1->HighPC)) { in contains()
104 if (R.LowPC < I1->HighPC) in contains()
105 R.LowPC = I1->HighPC; in contains()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfutil/
H A DDebugInfoLinker.cpp68 if (!isDeadAddressRange(Range.LowPC, Range.HighPC, CU->getVersion(), in ObjFileAddressMap()
159 std::optional<uint64_t> HighPC) { in isInsideExecutableSectionsAddressRange() argument
163 if (HighPC) in isInsideExecutableSectionsAddressRange()
164 return Range.has_value() && Range->end() >= *HighPC; in isInsideExecutableSectionsAddressRange()
169 uint64_t isBFDDeadAddressRange(uint64_t LowPC, std::optional<uint64_t> HighPC, in isBFDDeadAddressRange() argument
174 if ((Version <= 4) && HighPC && (LowPC == 1 && *HighPC == 1)) in isBFDDeadAddressRange()
177 return !isInsideExecutableSectionsAddressRange(LowPC, HighPC); in isBFDDeadAddressRange()
181 std::optional<uint64_t> HighPC, in isMAXPCDeadAddressRange() argument
183 if (Version <= 4 && HighPC) { in isMAXPCDeadAddressRange()
189 if (!isInsideExecutableSectionsAddressRange(LowPC, HighPC)) in isMAXPCDeadAddressRange()
[all …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVLocation.h94 LVAddress HighPC = 0; variable
134 LVAddress getUpperAddress() const override { return HighPC; } in getUpperAddress()
135 void setUpperAddress(LVAddress Address) override { HighPC = Address; } in setUpperAddress()
150 virtual void addObject(LVAddress LowPC, LVAddress HighPC, in addObject() argument
179 void addObject(LVAddress LowPC, LVAddress HighPC, LVUnsigned SectionOffset,
H A DLVSymbol.h64 LVAddress LowPC, LVAddress HighPC);
130 void addLocation(dwarf::Attribute Attr, LVAddress LowPC, LVAddress HighPC,
/freebsd/contrib/llvm-project/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()
105 LVAddress HighPC) { in addLocationGap() argument
110 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()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVDWARFReader.cpp474 if (Range.LowPC == Range.HighPC) in processOneAttribute()
477 if (UpdateHighAddress && Range.HighPC > 0) in processOneAttribute()
478 --Range.HighPC; in processOneAttribute()
481 Range.HighPC += WasmCodeSectionOffset; in processOneAttribute()
483 CurrentScope->addObject(Range.LowPC, Range.HighPC); in processOneAttribute()
486 CurrentRanges.emplace_back(Range.LowPC, Range.HighPC); in processOneAttribute()
1028 LVAddress HighPC = 0; in processLocationList() local
1037 HighPC = BaseAddr + Entry.Value1; in processLocationList()
1038 DWARFAddressRange Range{LowPC, HighPC, Entry.SectionIndex}; in processLocationList()
1047 if (UpdateHighAddress && HighPC > 0) in processLocationList()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp214 if (DwarfRange.LowPC < DwarfRange.HighPC) in ConvertDWARFRanges()
215 Ranges.insert({DwarfRange.LowPC, DwarfRange.HighPC}); in ConvertDWARFRanges()
486 if (Range.LowPC >= Range.HighPC || CUI.isHighestAddress(Range.LowPC)) in handleDie()
516 FI.Range = {Range.LowPC, Range.HighPC}; in handleDie()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp265 uint64_t Upper = std::min(A.HighPC, B.HighPC); in calculateOverlap()
380 TotalBytesCovered += Entry.Range->HighPC - Entry.Range->LowPC; in collectStatsForDie()
568 BytesInThisScope += Range.HighPC - Range.LowPC; in collectStatsRecursive()
930 LnStats.NumBytes += Seq.HighPC - Seq.LowPC; in collectStatsForObjectFile()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerCompileUnit.h
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFLinkerCompileUnit.h204 void addFunctionRange(uint64_t LowPC, uint64_t HighPC, int64_t PCOffset);

12