Home
last modified time | relevance | path

Searched refs:DWARFUnit (Results 1 – 25 of 72) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugInfoEntry.h44 void BuildFunctionAddressRangeTable(DWARFUnit *cu,
51 size_t GetAttributes(DWARFUnit *cu, DWARFAttributes &attrs,
57 GetAttributeValue(const DWARFUnit *cu, const dw_attr_t attr,
71 const DWARFUnit *cu, const dw_attr_t attr,
91 const char *GetName(const DWARFUnit *cu) const;
93 const char *GetMangledName(const DWARFUnit *cu,
96 const char *GetPubname(const DWARFUnit *cu) const;
110 GetAbbreviationDeclarationPtr(const DWARFUnit *cu) const;
150 DWARFDeclContext GetDWARFDeclContext(DWARFUnit *cu) const;
152 DWARFDIE GetParentDeclContextDIE(DWARFUnit *cu) const;
[all …]
H A DDWARFUnit.cpp32 DWARFUnit::DWARFUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid, in DWARFUnit() function in DWARFUnit
40 DWARFUnit::~DWARFUnit() = default;
71 void DWARFUnit::ExtractDIEsIfNeeded() { in ExtractDIEsIfNeeded()
91 DWARFUnit::ScopedExtractDIEs DWARFUnit::ExtractDIEsScoped() { in ExtractDIEsScoped()
111 DWARFUnit::ScopedExtractDIEs::ScopedExtractDIEs(DWARFUnit &cu) : m_cu(&cu) { in ScopedExtractDIEs()
134 DWARFUnit::ScopedExtractDIEs &DWARFUnit::ScopedExtractDIEs::operator=( in operator =()
293 uint64_t DWARFUnit::GetDWOId() { in GetDWOId()
494 DWARFUnit::GetRnglistTable() { in GetRnglistTable()
582 DWARFUnit &DWARFUnit::GetNonSkeletonUnit() { in GetNonSkeletonUnit()
589 uint8_t DWARFUnit::GetAddressByteSize(const DWARFUnit *cu) { in GetAddressByteSize()
[all …]
H A DDWARFBaseDIE.h20 class DWARFUnit; variable
29 DWARFBaseDIE(DWARFUnit *cu, DWARFDebugInfoEntry *die) in DWARFBaseDIE()
32 DWARFBaseDIE(const DWARFUnit *cu, DWARFDebugInfoEntry *die) in DWARFBaseDIE()
33 : m_cu(const_cast<DWARFUnit *>(cu)), m_die(die) {} in DWARFBaseDIE()
35 DWARFBaseDIE(DWARFUnit *cu, const DWARFDebugInfoEntry *die) in DWARFBaseDIE()
38 DWARFBaseDIE(const DWARFUnit *cu, const DWARFDebugInfoEntry *die) in DWARFBaseDIE()
39 : m_cu(const_cast<DWARFUnit *>(cu)), in DWARFBaseDIE()
54 DWARFUnit *GetCU() const { return m_cu; } in GetCU()
60 void Set(DWARFUnit *cu, DWARFDebugInfoEntry *die) { in Set()
118 DWARFUnit *m_cu = nullptr;
H A DDWARFFormValue.h16 class DWARFUnit; variable
42 DWARFFormValue(const DWARFUnit *unit) : m_unit(unit) {} in DWARFFormValue()
43 DWARFFormValue(const DWARFUnit *unit, dw_form_t form) in DWARFFormValue()
45 const DWARFUnit *GetUnit() const { return m_unit; } in GetUnit()
46 void SetUnit(const DWARFUnit *unit) { m_unit = unit; } in SetUnit()
59 const DWARFUnit *u);
75 lldb::offset_t *offset_ptr, const DWARFUnit *unit);
85 const DWARFUnit *m_unit = nullptr; // Unit for this form
H A DDWARFDebugInfo.cpp59 DWARFUnit *cu = GetUnitAtIndex(idx); in GetCompileUnitAranges()
77 llvm::Expected<DWARFUnitSP> unit_sp = DWARFUnit::extract( in ParseUnitsFor()
111 DWARFUnit *DWARFDebugInfo::GetUnitAtIndex(size_t idx) { in GetUnitAtIndex()
112 DWARFUnit *cu = nullptr; in GetUnitAtIndex()
136 DWARFUnit *DWARFDebugInfo::GetUnitAtOffset(DIERef::Section section, in GetUnitAtOffset()
140 DWARFUnit *result = GetUnitAtIndex(idx); in GetUnitAtOffset()
150 DWARFUnit *DWARFDebugInfo::GetUnit(const DIERef &die_ref) { in GetUnit()
154 DWARFUnit *
158 DWARFUnit *result = GetUnitAtIndex(idx); in GetUnitContainingDIEOffset()
180 DWARFUnit *cu = GetUnitContainingDIEOffset(section, die_offset); in GetDIEForDIEOffset()
[all …]
H A DDWARFUnit.h19 class DWARFUnit; variable
25 typedef std::shared_ptr<DWARFUnit> DWARFUnitSP;
80 class DWARFUnit : public lldb_private::UserID {
89 virtual ~DWARFUnit();
98 DWARFUnit *m_cu;
101 ScopedExtractDIEs(DWARFUnit &cu);
177 DWARFUnit &GetNonSkeletonUnit();
259 DWARFUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid,
289 std::shared_ptr<DWARFUnit> m_dwo;
347 DWARFUnit(const DWARFUnit &) = delete;
[all …]
H A DDWARFDebugInfoEntry.cpp40 const DWARFUnit *cu, in Extract()
207 static DWARFRangeList GetRangesOrReportError(DWARFUnit &unit, in GetRangesOrReportError()
231 DWARFUnit *cu, const char *&name, const char *&mangled, in GetDIENamesAndRanges()
406 size_t DWARFDebugInfoEntry::GetAttributes(DWARFUnit *cu, in GetAttributes()
553 const DWARFUnit *cu, const dw_attr_t attr, in GetAttributeValueAsReference()
579 const DWARFUnit *cu, dw_addr_t lo_pc, uint64_t fail_value, in GetAttributeHighPC()
602 const DWARFUnit *cu, dw_addr_t &lo_pc, dw_addr_t &hi_pc, in GetAttributeAddressRange()
650 DWARFDebugInfoEntry::GetMangledName(const DWARFUnit *cu, in GetMangledName()
694 DWARFUnit *cu, DWARFDebugAranges *debug_aranges) const { in BuildFunctionAddressRangeTable()
747 DWARFUnit *cu, const DWARFAttributes &attributes) const { in GetParentDeclContextDIE()
[all …]
H A DDWARFDebugInfo.h29 DWARFUnit *cu,
38 DWARFUnit *GetUnitAtIndex(size_t idx);
39 DWARFUnit *GetUnitAtOffset(DIERef::Section section, dw_offset_t cu_offset,
41 DWARFUnit *GetUnitContainingDIEOffset(DIERef::Section section,
43 DWARFUnit *GetUnit(const DIERef &die_ref);
H A DDWARFTypeUnit.h15 class DWARFTypeUnit : public DWARFUnit {
25 static bool classof(const DWARFUnit *unit) { return unit->IsTypeUnit(); } in classof()
32 : DWARFUnit(dwarf, uid, header, abbrevs, section, is_dwo) {} in DWARFTypeUnit()
34 friend class DWARFUnit; variable
H A DDWARFCompileUnit.h15 class DWARFCompileUnit : public DWARFUnit {
21 static bool classof(const DWARFUnit *unit) { return !unit->IsTypeUnit(); } in classof()
32 : DWARFUnit(dwarf, uid, header, abbrevs, section, is_dwo) {} in DWARFCompileUnit()
37 friend class DWARFUnit; variable
H A DDWARFAttribute.h17 class DWARFUnit; variable
51 DWARFUnit *CompileUnitAtIndex(uint32_t i) const { return m_infos[i].cu; } in CompileUnitAtIndex()
71 DWARFUnit *cu; // Keep the compile unit with each attribute in
H A DManualDWARFIndex.h36 GetGlobalVariables(const DWARFUnit &unit,
70 void IndexUnit(DWARFUnit &unit, SymbolFileDWARFDwo *dwp, IndexSet &set);
72 static void IndexUnitImpl(DWARFUnit &unit,
H A DSymbolFileDWARF.h245 bool Supports_DW_AT_APPLE_objc_complete_type(DWARFUnit *cu);
276 GetDwoSymbolFileForCompileUnit(DWARFUnit &dwarf_cu,
299 lldb_private::FileSpec GetFile(DWARFUnit &unit, size_t file_idx);
302 GetTypeSystem(DWARFUnit &unit);
304 static DWARFASTParser *GetDWARFParser(DWARFUnit &unit);
319 static lldb::LanguageType GetLanguage(DWARFUnit &unit);
321 static lldb::LanguageType GetLanguageFamily(DWARFUnit &unit);
353 DWARFUnit *GetNextUnparsedDWARFCompileUnit(DWARFUnit *prev_cu);
H A DDWARFFormValue.cpp20 class DWARFUnit;
47 data.GetMaxU64(offset_ptr, DWARFUnit::GetAddressByteSize(m_unit)); in ExtractValue()
190 DWARFFormValue::GetFixedSize(dw_form_t form, const DWARFUnit *u) { in GetFixedSize()
210 const DWARFUnit *unit) { in SkipValue()
244 *offset_ptr += DWARFUnit::GetAddressByteSize(unit); in SkipValue()
518 return const_cast<DWARFUnit *>(m_unit)->GetDIE(value); in Reference()
521 DWARFUnit *ref_cu = in Reference()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnit.cpp71 -> std::unique_ptr<DWARFUnit> { in addUnitsImpl()
86 std::unique_ptr<DWARFUnit> U; in addUnitsImpl()
122 DWARFUnit *DWARFUnitVector::addUnit(std::unique_ptr<DWARFUnit> Unit) { in addUnit()
143 DWARFUnit *
173 DWARFUnit::DWARFUnit(DWARFContext &DC, const DWARFSection &Section, in DWARFUnit() function in DWARFUnit
186 DWARFUnit::~DWARFUnit() = default;
385 void DWARFUnit::clear() { in clear()
396 const char *DWARFUnit::getCompilationDir() { in getCompilationDir()
400 void DWARFUnit::extractDIEsToVector( in extractDIEsToVector()
559 bool DWARFUnit::parseDWO() { in parseDWO()
[all …]
H A DDWARFAbbreviationDeclaration.cpp152 const DWARFUnit &U) const { in getAttributeValue()
186 const DWARFUnit &U) const { in getByteSize()
198 const DWARFUnit &U) const { in getByteSize()
211 const DWARFUnit &U) const { in getFixedAttributesByteSize()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFUnit.h42 class DWARFUnit; variable
116 bool isCompileUnit(const std::unique_ptr<DWARFUnit> &U);
135 DWARFUnit *getUnitForOffset(uint64_t Offset) const;
154 DWARFUnit *addUnit(std::unique_ptr<DWARFUnit> Unit);
203 class DWARFUnit {
221 DWARFUnit *SU;
244 std::shared_ptr<DWARFUnit> DWO;
269 DWARFUnit(DWARFContext &Context, const DWARFSection &Section,
276 virtual ~DWARFUnit();
305 void setSkeletonUnit(DWARFUnit *SU) { this->SU = SU; } in setSkeletonUnit()
[all …]
H A DDWARFAbbreviationDeclaration.h24 class DWARFUnit; variable
82 Optional<int64_t> getByteSize(const DWARFUnit &U) const;
145 const DWARFUnit &U) const;
153 Optional<size_t> getFixedAttributesByteSize(const DWARFUnit &U) const;
178 size_t getByteSize(const DWARFUnit &U) const;
H A DDWARFFormValue.h23 class DWARFUnit; variable
61 const DWARFUnit *U = nullptr; /// Remember the DWARFUnit at extract time.
74 static DWARFFormValue createFromUnit(dwarf::Form F, const DWARFUnit *Unit,
81 const DWARFUnit *getUnit() const { return U; } in getUnit()
98 const DWARFUnit *Unit = nullptr);
101 dwarf::FormParams FormParams, const DWARFUnit *U) { in extractValue()
113 DWARFUnit *Unit;
H A DDWARFDebugInfoEntry.h20 class DWARFUnit; variable
39 bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr);
42 bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr,
H A DDWARFCompileUnit.h17 class DWARFCompileUnit : public DWARFUnit {
25 : DWARFUnit(Context, Section, Header, DA, RS, LocSection, SS, SOS, AOS, in DWARFCompileUnit()
33 static bool classof(const DWARFUnit *U) { return !U->isTypeUnit(); } in classof()
H A DDWARFTypeUnit.h25 class DWARFTypeUnit : public DWARFUnit {
33 : DWARFUnit(Context, Section, Header, DA, RS, LocSection, SS, SOS, AOS, in DWARFTypeUnit()
41 static bool classof(const DWARFUnit *U) { return U->isTypeUnit(); } in classof()
H A DDWARFExpression.h21 class DWARFUnit; variable
99 DWARFUnit *U, bool isEH);
100 bool verify(DWARFUnit *U);
149 const MCRegisterInfo *RegInfo, DWARFUnit *U,
158 bool verify(DWARFUnit *U);
H A DDWARFDebugLine.h29 class DWARFUnit; variable
136 const DWARFContext &Ctx, const DWARFUnit *U = nullptr);
283 const DWARFContext &Ctx, const DWARFUnit *U,
312 const DWARFContext &Ctx, const DWARFUnit *U,
318 using LineToUnitMap = std::map<uint64_t, DWARFUnit *>;
358 DWARFUnit *prepareToParse(uint64_t Offset);
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Expression/
H A DDWARFExpression.h20 class DWARFUnit; variable
45 const DWARFUnit *dwarf_cu);
205 const DWARFUnit *dwarf_cu,
253 const DWARFUnit *m_dwarf_cu = nullptr;

123