| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFDebugInfoEntry.h | 49 void BuildFunctionAddressRangeTable(DWARFUnit *cu, 56 DWARFAttributes GetAttributes(DWARFUnit *cu, 78 const DWARFUnit *cu, const dw_attr_t attr, 82 const DWARFUnit *cu, const dw_attr_t attr, 99 DWARFUnit *cu, bool check_hi_lo_pc, 102 const char *GetName(const DWARFUnit *cu) const; 104 const char *GetMangledName(const DWARFUnit *cu, 107 const char *GetPubname(const DWARFUnit *cu) const; 120 GetAbbreviationDeclarationPtr(const DWARFUnit *cu) const; 162 DWARFDIE GetParentDeclContextDIE(DWARFUnit *cu) const; [all …]
|
| H A D | DWARFUnit.cpp | 35 DWARFUnit::DWARFUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid, in DWARFUnit() function in DWARFUnit 43 DWARFUnit::~DWARFUnit() = default; 162 DWARFUnit::ScopedExtractDIEs DWARFUnit::ExtractDIEsScoped() { in ExtractDIEsScoped() 182 DWARFUnit::ScopedExtractDIEs::ScopedExtractDIEs(DWARFUnit &cu) : m_cu(&cu) { in ScopedExtractDIEs() 205 DWARFUnit::ScopedExtractDIEs & 206 DWARFUnit::ScopedExtractDIEs::operator=(DWARFUnit::ScopedExtractDIEs &&rhs) { in operator =() 441 DWARFUnit::GetAbbreviations() const { in GetAbbreviations() 565 DWARFUnit::GetRnglistTable() { in GetRnglistTable() 690 DWARFUnit &DWARFUnit::GetNonSkeletonUnit() { in GetNonSkeletonUnit() 697 uint8_t DWARFUnit::GetAddressByteSize(const DWARFUnit *cu) { in GetAddressByteSize() [all …]
|
| H A D | DWARFBaseDIE.h | 23 class DWARFUnit; variable 32 DWARFBaseDIE(DWARFUnit *cu, DWARFDebugInfoEntry *die) in DWARFBaseDIE() 35 DWARFBaseDIE(const DWARFUnit *cu, DWARFDebugInfoEntry *die) in DWARFBaseDIE() 36 : m_cu(const_cast<DWARFUnit *>(cu)), m_die(die) {} in DWARFBaseDIE() 38 DWARFBaseDIE(DWARFUnit *cu, const DWARFDebugInfoEntry *die) in DWARFBaseDIE() 41 DWARFBaseDIE(const DWARFUnit *cu, const DWARFDebugInfoEntry *die) in DWARFBaseDIE() 42 : m_cu(const_cast<DWARFUnit *>(cu)), in DWARFBaseDIE() 57 DWARFUnit *GetCU() const { return m_cu; } in GetCU() 63 void Set(DWARFUnit *cu, DWARFDebugInfoEntry *die) { in Set() 123 DWARFUnit *m_cu = nullptr;
|
| H A D | DWARFFormValue.h | 18 class DWARFUnit; variable 44 DWARFFormValue(const DWARFUnit *unit) : m_unit(unit) {} in DWARFFormValue() 45 DWARFFormValue(const DWARFUnit *unit, dw_form_t form) in DWARFFormValue() 47 const DWARFUnit *GetUnit() const { return m_unit; } in GetUnit() 48 void SetUnit(const DWARFUnit *unit) { m_unit = unit; } in SetUnit() 60 const DWARFUnit *u); 67 std::pair<DWARFUnit *, uint64_t> ReferencedUnitAndOffset() const; 82 lldb::offset_t *offset_ptr, const DWARFUnit *unit); 92 const DWARFUnit *m_unit = nullptr; // Unit for this form
|
| H A D | DWARFDebugInfo.cpp | 65 DWARFUnit *cu = GetUnitAtIndex(idx); in GetCompileUnitAranges() 84 llvm::Expected<DWARFUnitSP> unit_sp = DWARFUnit::extract( in ParseUnitsFor() 118 DWARFUnit *DWARFDebugInfo::GetUnitAtIndex(size_t idx) { in GetUnitAtIndex() 119 DWARFUnit *cu = nullptr; in GetUnitAtIndex() 143 DWARFUnit *DWARFDebugInfo::GetUnitAtOffset(DIERef::Section section, in GetUnitAtOffset() 147 DWARFUnit *result = GetUnitAtIndex(idx); in GetUnitAtOffset() 157 DWARFUnit *DWARFDebugInfo::GetUnit(const DIERef &die_ref) { in GetUnit() 161 DWARFUnit * 165 DWARFUnit *result = GetUnitAtIndex(idx); in GetUnitContainingDIEOffset() 189 DWARFUnit *cu = GetUnit(die_ref); in GetDIE() [all …]
|
| H A D | DWARFDebugInfoEntry.cpp | 44 const DWARFUnit *cu, in Extract() 88 static DWARFRangeList GetRangesOrReportError(DWARFUnit &unit, in GetRangesOrReportError() 122 DWARFUnit *cu, const char *&name, const char *&mangled, in GetDIENamesAndRanges() 296 void DWARFDebugInfoEntry::GetAttributes(DWARFUnit *cu, in GetAttributes() 440 const DWARFUnit *cu, const dw_attr_t attr, in GetAttributeValueAsOptionalUnsigned() 454 const DWARFUnit *cu, const dw_attr_t attr, in GetAttributeValueAsReference() 503 const DWARFUnit *cu, dw_addr_t &lo_pc, dw_addr_t &hi_pc, in GetAttributeAddressRange() 519 DWARFUnit *cu, bool check_hi_lo_pc, in GetAttributeAddressRanges() 552 DWARFDebugInfoEntry::GetMangledName(const DWARFUnit *cu, in GetMangledName() 596 DWARFUnit *cu, DWARFDebugAranges *debug_aranges) const { in BuildFunctionAddressRangeTable() [all …]
|
| H A D | DWARFUnit.h | 24 class DWARFUnit; variable 30 typedef std::shared_ptr<DWARFUnit> DWARFUnitSP; 89 class DWARFUnit : public UserID { 98 virtual ~DWARFUnit(); 108 DWARFUnit *m_cu; 112 ScopedExtractDIEs(DWARFUnit &cu); 195 DWARFUnit &GetNonSkeletonUnit(); 304 DWARFUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid, 336 std::shared_ptr<DWARFUnit> m_dwo; 399 DWARFUnit(const DWARFUnit &) = delete; [all …]
|
| H A D | DWARFDebugInfo.h | 28 typedef dw_offset_t (*Callback)(SymbolFileDWARF *dwarf2Data, DWARFUnit *cu, 36 DWARFUnit *GetUnitAtIndex(size_t idx); 37 DWARFUnit *GetUnitAtOffset(DIERef::Section section, dw_offset_t cu_offset, 39 DWARFUnit *GetUnitContainingDIEOffset(DIERef::Section section, 41 DWARFUnit *GetUnit(const DIERef &die_ref);
|
| H A D | DWARFTypeUnit.h | 21 class DWARFTypeUnit : public DWARFUnit { 31 static bool classof(const DWARFUnit *unit) { return unit->IsTypeUnit(); } in classof() 38 : DWARFUnit(dwarf, uid, header, abbrevs, section, is_dwo) {} in DWARFTypeUnit() 40 friend class DWARFUnit; variable
|
| H A D | DWARFCompileUnit.h | 21 class DWARFCompileUnit : public DWARFUnit { 27 static bool classof(const DWARFUnit *unit) { return !unit->IsTypeUnit(); } in classof() 38 : DWARFUnit(dwarf, uid, header, abbrevs, section, is_dwo) {} in DWARFCompileUnit() 43 friend class DWARFUnit; variable
|
| H A D | SymbolFileDWARF.h | 227 bool Supports_DW_AT_APPLE_objc_complete_type(DWARFUnit *cu); 247 GetDwoSymbolFileForCompileUnit(DWARFUnit &dwarf_cu, 272 FileSpec GetFile(DWARFUnit &unit, size_t file_idx); 274 static llvm::Expected<lldb::TypeSystemSP> GetTypeSystem(DWARFUnit &unit); 276 static DWARFASTParser *GetDWARFParser(DWARFUnit &unit); 290 static lldb::LanguageType GetLanguage(DWARFUnit &unit); 292 static lldb::LanguageType GetLanguageFamily(DWARFUnit &unit); 382 DWARFUnit *GetNextUnparsedDWARFCompileUnit(DWARFUnit *prev_cu); 398 bool ParseSupportFiles(DWARFUnit &dwarf_cu, const lldb::ModuleSP &module,
|
| H A D | DWARFAttribute.h | 19 class DWARFUnit; variable 50 DWARFUnit *CompileUnitAtIndex(uint32_t i) const { return m_infos[i].cu; } in CompileUnitAtIndex() 70 DWARFUnit *cu; // Keep the compile unit with each attribute in
|
| H A D | DWARFDebugRanges.h | 17 class DWARFUnit; variable 25 DWARFRangeList FindRanges(const DWARFUnit *cu,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFUnit.cpp | 78 -> std::unique_ptr<DWARFUnit> { in addUnitsImpl() 103 std::unique_ptr<DWARFUnit> U; in addUnitsImpl() 139 DWARFUnit *DWARFUnitVector::addUnit(std::unique_ptr<DWARFUnit> Unit) { in addUnit() 160 DWARFUnit * 190 DWARFUnit::DWARFUnit(DWARFContext &DC, const DWARFSection &Section, in DWARFUnit() function in DWARFUnit 203 DWARFUnit::~DWARFUnit() = default; 364 void DWARFUnit::clear() { in clear() 378 const char *DWARFUnit::getCompilationDir() { in getCompilationDir() 382 void DWARFUnit::extractDIEsToVector( in extractDIEsToVector() 632 void DWARFUnit::clearDIEs(bool KeepCUDie) { in clearDIEs() [all …]
|
| H A D | DWARFAbbreviationDeclaration.cpp | 171 uint32_t AttrIndex, uint64_t DIEOffset, const DWARFUnit &U) const { in getAttributeOffsetFromIndex() 189 uint32_t AttrIndex, uint64_t Offset, const DWARFUnit &U) const { in getAttributeValueFromOffset() 209 const DWARFUnit &U) const { in getAttributeValue() 222 const DWARFUnit &U) const { in getByteSize() 234 const DWARFUnit &U) const { in getByteSize() 247 const DWARFUnit &U) const { in getFixedAttributesByteSize()
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Expression/ |
| H A D | DWARFExpression.h | 25 class DWARFUnit; variable 71 lldb::addr_t GetLocation_DW_OP_addr(const plugin::dwarf::DWARFUnit *dwarf_cu, 74 bool Update_DW_OP_addr(const plugin::dwarf::DWARFUnit *dwarf_cu, 81 ContainsThreadLocalStorage(const plugin::dwarf::DWARFUnit *dwarf_cu) const; 84 const plugin::dwarf::DWARFUnit *dwarf_cu, 137 const plugin::dwarf::DWARFUnit *dwarf_cu, 143 static bool ParseDWARFLocationList(const plugin::dwarf::DWARFUnit *dwarf_cu,
|
| H A D | DWARFExpressionList.h | 20 class DWARFUnit; variable 32 const plugin::dwarf::DWARFUnit *dwarf_cu, in DWARFExpressionList() 38 const plugin::dwarf::DWARFUnit *dwarf_cu) in DWARFExpressionList() 144 const plugin::dwarf::DWARFUnit *m_dwarf_cu = nullptr;
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFUnit.h | 39 class DWARFUnit; variable 124 bool isCompileUnit(const std::unique_ptr<DWARFUnit> &U); 143 DWARFUnit *getUnitForOffset(uint64_t Offset) const; 162 DWARFUnit *addUnit(std::unique_ptr<DWARFUnit> Unit); 211 class DWARFUnit { 229 DWARFUnit *SU; 258 std::shared_ptr<DWARFUnit> DWO; 308 DWARFUnit(DWARFContext &Context, const DWARFSection &Section, 315 virtual ~DWARFUnit(); 345 void setSkeletonUnit(DWARFUnit *SU) { this->SU = SU; } in setSkeletonUnit() [all …]
|
| H A D | DWARFAbbreviationDeclaration.h | 23 class DWARFUnit; variable 90 std::optional<int64_t> getByteSize(const DWARFUnit &U) const; 153 const DWARFUnit &U) const; 163 const DWARFUnit &U) const; 174 const DWARFUnit &U) const; 182 std::optional<size_t> getFixedAttributesByteSize(const DWARFUnit &U) const; 207 size_t getByteSize(const DWARFUnit &U) const;
|
| H A D | DWARFFormValue.h | 23 class DWARFUnit; variable 61 const DWARFUnit *U = nullptr; /// Remember the DWARFUnit at extract time. 74 static DWARFFormValue createFromUnit(dwarf::Form F, const DWARFUnit *Unit, 78 const DWARFUnit *U); 84 const DWARFUnit *getUnit() const { return U; } in getUnit() 101 const DWARFUnit *Unit = nullptr); 104 dwarf::FormParams FormParams, const DWARFUnit *U) { in extractValue() 112 DWARFUnit *Unit;
|
| H A D | DWARFExpression.h | 18 class DWARFUnit; variable 102 const DWARFExpression *Expr, DWARFUnit *U) const; 105 static bool verify(const Operation &Op, DWARFUnit *U); 155 void print(raw_ostream &OS, DIDumpOptions DumpOpts, DWARFUnit *U, 166 bool verify(DWARFUnit *U); 172 static bool prettyPrintRegisterOp(DWARFUnit *U, raw_ostream &OS,
|
| 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 | DWARFContext.h | 82 getLineTableForUnit(DWARFUnit *U, 84 virtual void clearLineTableForUnit(DWARFUnit *U) = 0; 255 DWARFUnit *getUnitAtIndex(unsigned index) { in getUnitAtIndex() 260 DWARFUnit *getDWOUnitAtIndex(unsigned index) { in getDWOUnitAtIndex() 341 const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *U); 346 getLineTableForUnit(DWARFUnit *U, 351 void clearLineTableForUnit(DWARFUnit *U);
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DWARFLinker/ |
| H A D | DWARFLinkerBase.h | 22 class DWARFUnit; variable 84 using CompileUnitHandlerTy = function_ref<void(const DWARFUnit &Unit)>; 107 CompileUnitHandlerTy OnCUDieLoaded = [](const DWARFUnit &) {}) = 0;
|