| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFDebugInfoEntry.h | 44 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 D | DWARFUnit.cpp | 32 DWARFUnit::DWARFUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid, in DWARFUnit() function in DWARFUnit 40 DWARFUnit::~DWARFUnit() = default; 125 void DWARFUnit::ExtractDIEsIfNeeded() { in ExtractDIEsIfNeeded() 145 DWARFUnit::ScopedExtractDIEs DWARFUnit::ExtractDIEsScoped() { in ExtractDIEsScoped() 165 DWARFUnit::ScopedExtractDIEs::ScopedExtractDIEs(DWARFUnit &cu) : m_cu(&cu) { in ScopedExtractDIEs() 188 DWARFUnit::ScopedExtractDIEs &DWARFUnit::ScopedExtractDIEs::operator=( in operator =() 348 uint64_t DWARFUnit::GetDWOId() { in GetDWOId() 543 DWARFUnit::GetRnglistTable() { in GetRnglistTable() 641 DWARFUnit &DWARFUnit::GetNonSkeletonUnit() { in GetNonSkeletonUnit() 648 uint8_t DWARFUnit::GetAddressByteSize(const DWARFUnit *cu) { in GetAddressByteSize() [all …]
|
| H A D | DWARFBaseDIE.h | 20 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 D | DWARFFormValue.h | 16 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 D | DWARFDebugInfo.cpp | 58 DWARFUnit *cu = GetUnitAtIndex(idx); in GetCompileUnitAranges() 76 llvm::Expected<DWARFUnitSP> unit_sp = DWARFUnit::extract( in ParseUnitsFor() 110 DWARFUnit *DWARFDebugInfo::GetUnitAtIndex(size_t idx) { in GetUnitAtIndex() 111 DWARFUnit *cu = nullptr; in GetUnitAtIndex() 135 DWARFUnit *DWARFDebugInfo::GetUnitAtOffset(DIERef::Section section, in GetUnitAtOffset() 139 DWARFUnit *result = GetUnitAtIndex(idx); in GetUnitAtOffset() 149 DWARFUnit *DWARFDebugInfo::GetUnit(const DIERef &die_ref) { in GetUnit() 153 DWARFUnit * 157 DWARFUnit *result = GetUnitAtIndex(idx); in GetUnitContainingDIEOffset() 181 DWARFUnit *cu = GetUnit(die_ref); in GetDIE()
|
| H A D | DWARFUnit.h | 20 class DWARFUnit; variable 26 typedef std::shared_ptr<DWARFUnit> DWARFUnitSP; 83 class DWARFUnit : public lldb_private::UserID { 92 virtual ~DWARFUnit(); 102 DWARFUnit *m_cu; 105 ScopedExtractDIEs(DWARFUnit &cu); 183 DWARFUnit &GetNonSkeletonUnit(); 261 DWARFUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid, 293 std::shared_ptr<DWARFUnit> m_dwo; 352 DWARFUnit(const DWARFUnit &) = delete; [all …]
|
| H A D | DWARFDebugInfoEntry.cpp | 40 const DWARFUnit *cu, in Extract() 207 static DWARFRangeList GetRangesOrReportError(DWARFUnit &unit, in GetRangesOrReportError() 231 DWARFUnit *cu, const char *&name, const char *&mangled, in GetDIENamesAndRanges() 407 size_t DWARFDebugInfoEntry::GetAttributes(DWARFUnit *cu, in GetAttributes() 554 const DWARFUnit *cu, const dw_attr_t attr, in GetAttributeValueAsReference() 580 const DWARFUnit *cu, dw_addr_t lo_pc, uint64_t fail_value, in GetAttributeHighPC() 603 const DWARFUnit *cu, dw_addr_t &lo_pc, dw_addr_t &hi_pc, in GetAttributeAddressRange() 651 DWARFDebugInfoEntry::GetMangledName(const DWARFUnit *cu, in GetMangledName() 695 DWARFUnit *cu, DWARFDebugAranges *debug_aranges) const { in BuildFunctionAddressRangeTable() 748 DWARFUnit *cu, const DWARFAttributes &attributes) const { in GetParentDeclContextDIE() [all …]
|
| H A D | DWARFDebugInfo.h | 29 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 D | DWARFTypeUnit.h | 15 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 D | DWARFCompileUnit.h | 15 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 D | SymbolFileDWARF.h | 245 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); 362 DWARFUnit *GetNextUnparsedDWARFCompileUnit(DWARFUnit *prev_cu); 380 bool ParseSupportFiles(DWARFUnit &dwarf_cu, const lldb::ModuleSP &module,
|
| H A D | DWARFAttribute.h | 17 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
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFUnit.cpp | 78 -> std::unique_ptr<DWARFUnit> { in addUnitsImpl() 100 std::unique_ptr<DWARFUnit> U; in addUnitsImpl() 136 DWARFUnit *DWARFUnitVector::addUnit(std::unique_ptr<DWARFUnit> Unit) { in addUnit() 157 DWARFUnit * 187 DWARFUnit::DWARFUnit(DWARFContext &DC, const DWARFSection &Section, in DWARFUnit() function in DWARFUnit 200 DWARFUnit::~DWARFUnit() = default; 375 void DWARFUnit::clear() { in clear() 389 const char *DWARFUnit::getCompilationDir() { in getCompilationDir() 393 void DWARFUnit::extractDIEsToVector( in extractDIEsToVector() 590 bool DWARFUnit::parseDWO() { in parseDWO() [all …]
|
| H A D | DWARFAbbreviationDeclaration.cpp | 151 uint32_t AttrIndex, uint64_t DIEOffset, const DWARFUnit &U) const { in getAttributeOffsetFromIndex() 169 uint32_t AttrIndex, uint64_t Offset, const DWARFUnit &U) const { in getAttributeValueFromOffset() 189 const DWARFUnit &U) const { in getAttributeValue() 202 const DWARFUnit &U) const { in getByteSize() 214 const DWARFUnit &U) const { in getByteSize() 227 const DWARFUnit &U) const { in getFixedAttributesByteSize()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFUnit.h | 40 class DWARFUnit; variable 120 bool isCompileUnit(const std::unique_ptr<DWARFUnit> &U); 139 DWARFUnit *getUnitForOffset(uint64_t Offset) const; 158 DWARFUnit *addUnit(std::unique_ptr<DWARFUnit> Unit); 207 class DWARFUnit { 225 DWARFUnit *SU; 253 std::shared_ptr<DWARFUnit> DWO; 278 DWARFUnit(DWARFContext &Context, const DWARFSection &Section, 285 virtual ~DWARFUnit(); 314 void setSkeletonUnit(DWARFUnit *SU) { this->SU = SU; } in setSkeletonUnit() [all …]
|
| H A D | DWARFAbbreviationDeclaration.h | 24 class DWARFUnit; variable 82 Optional<int64_t> getByteSize(const DWARFUnit &U) const; 145 const DWARFUnit &U) const; 155 const DWARFUnit &U) const; 166 const DWARFUnit &U) const; 174 Optional<size_t> getFixedAttributesByteSize(const DWARFUnit &U) const; 199 size_t getByteSize(const DWARFUnit &U) const;
|
| H A D | DWARFFormValue.h | 25 class DWARFUnit; variable 63 const DWARFUnit *U = nullptr; /// Remember the DWARFUnit at extract time. 76 static DWARFFormValue createFromUnit(dwarf::Form F, const DWARFUnit *Unit, 83 const DWARFUnit *getUnit() const { return U; } in getUnit() 100 const DWARFUnit *Unit = nullptr); 103 dwarf::FormParams FormParams, const DWARFUnit *U) { in extractValue() 111 DWARFUnit *Unit;
|
| H A D | DWARFCompileUnit.h | 22 class DWARFCompileUnit : public DWARFUnit { 30 : DWARFUnit(Context, Section, Header, DA, RS, LocSection, SS, SOS, AOS, in DWARFCompileUnit() 38 static bool classof(const DWARFUnit *U) { return !U->isTypeUnit(); } in classof()
|
| H A D | DWARFTypeUnit.h | 24 class DWARFTypeUnit : public DWARFUnit { 32 : DWARFUnit(Context, Section, Header, DA, RS, LocSection, SS, SOS, AOS, in DWARFTypeUnit() 40 static bool classof(const DWARFUnit *U) { return U->isTypeUnit(); } in classof()
|
| H A D | DWARFExpression.h | 19 class DWARFUnit; variable 98 DWARFUnit *U, bool isEH) const; 101 static bool verify(const Operation &Op, DWARFUnit *U); 152 const MCRegisterInfo *RegInfo, DWARFUnit *U, 161 bool verify(DWARFUnit *U);
|
| /llvm-project-15.0.7/lldb/unittests/SymbolFile/DWARF/ |
| H A D | DWARFUnitTest.cpp | 45 DWARFUnit *unit = t.GetDwarfUnit(); in TEST() 81 DWARFUnit *unit = t.GetDwarfUnit(); in TEST() 118 DWARFUnit *unit = t.GetDwarfUnit(); in TEST() 154 DWARFUnit *unit = t.GetDwarfUnit(); in TEST() 189 DWARFUnit *unit = t.GetDwarfUnit(); in TEST()
|
| /llvm-project-15.0.7/lldb/include/lldb/Expression/ |
| H A D | DWARFExpression.h | 21 class DWARFUnit; variable 75 lldb::addr_t GetLocation_DW_OP_addr(const DWARFUnit *dwarf_cu, 138 const DWARFUnit *dwarf_cu, 144 static bool ParseDWARFLocationList(const DWARFUnit *dwarf_cu,
|
| H A D | DWARFExpressionList.h | 17 class DWARFUnit; variable 28 DWARFExpressionList(lldb::ModuleSP module_sp, const DWARFUnit *dwarf_cu, in DWARFExpressionList() 34 const DWARFUnit *dwarf_cu) in DWARFExpressionList() 140 const DWARFUnit *m_dwarf_cu = nullptr;
|
| /llvm-project-15.0.7/bolt/include/bolt/Core/ |
| H A D | DebugData.h | 196 void virtual initSection(DWARFUnit &CU){}; in initSection() 241 void virtual initSection(DWARFUnit &CU) override; 256 DWARFUnit *CU; 320 virtual uint64_t getOffset(DWARFUnit &Unit); 374 virtual uint64_t getCUID(DWARFUnit &Unit) { in getCUID() 402 virtual uint64_t getCUID(DWARFUnit &Unit) override { in getCUID() 404 DWARFUnit *SkeletonCU = Unit.getLinkedUnit(); in getCUID() 595 DWARFUnit &CU; 1001 void addUnitAbbreviations(DWARFUnit &Unit); 1028 void addAttributePatch(const DWARFUnit &Unit, in addAttributePatch() [all …]
|
| /llvm-project-15.0.7/bolt/include/bolt/Rewrite/ |
| H A D | DWARFRewriter.h | 96 void updateUnitDebugInfo(DWARFUnit &Unit, 143 DWARFUnit *Unit; 146 DWARFDieWrapper(DWARFUnit *Unit, DWARFDebugInfoEntry DIE) in DWARFDieWrapper() 164 void convertToRangesPatchAbbrev(const DWARFUnit &Unit, 197 const DWARFUnit &Unit, const AttrInfo &AttrInfoVal,
|