Searched refs:DWARFUnit (Results 1 - 25 of 83) sorted by relevance

1234

/freebsd-current/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugInfoEntry.h49 void BuildFunctionAddressRangeTable(DWARFUnit *cu,
52 bool Extract(const DWARFDataExtractor &data, const DWARFUnit *cu,
56 DWARFAttributes GetAttributes(DWARFUnit *cu,
64 GetAttributeValue(const DWARFUnit *cu, const dw_attr_t attr,
70 const DWARFUnit *cu, const dw_attr_t attr, const char *fail_value,
74 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value,
78 const DWARFUnit *cu, const dw_attr_t attr,
82 const DWARFUnit *cu, const dw_attr_t attr,
86 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value,
90 GetAttributeHighPC(const DWARFUnit *c
[all...]
H A DDWARFDebugRanges.h17 class DWARFUnit;
25 DWARFRangeList FindRanges(const DWARFUnit *cu,
H A DDWARFCompileUnit.h12 #include "DWARFUnit.h"
21 class DWARFCompileUnit : public DWARFUnit {
27 static bool classof(const DWARFUnit *unit) { return !unit->IsTypeUnit(); }
38 : DWARFUnit(dwarf, uid, header, abbrevs, section, is_dwo) {}
43 friend class DWARFUnit;
H A DDWARFTypeUnit.h12 #include "DWARFUnit.h"
21 class DWARFTypeUnit : public DWARFUnit {
31 static bool classof(const DWARFUnit *unit) { return unit->IsTypeUnit(); }
38 : DWARFUnit(dwarf, uid, header, abbrevs, section, is_dwo) {}
40 friend class DWARFUnit;
H A DDWARFBaseDIE.h23 class DWARFUnit;
32 DWARFBaseDIE(DWARFUnit *cu, DWARFDebugInfoEntry *die)
35 DWARFBaseDIE(const DWARFUnit *cu, DWARFDebugInfoEntry *die)
36 : m_cu(const_cast<DWARFUnit *>(cu)), m_die(die) {}
38 DWARFBaseDIE(DWARFUnit *cu, const DWARFDebugInfoEntry *die)
41 DWARFBaseDIE(const DWARFUnit *cu, const DWARFDebugInfoEntry *die)
42 : m_cu(const_cast<DWARFUnit *>(cu)),
57 DWARFUnit *GetCU() const { return m_cu; }
63 void Set(DWARFUnit *cu, DWARFDebugInfoEntry *die) {
123 DWARFUnit *m_c
[all...]
H A DDWARFFormValue.h18 class DWARFUnit;
44 DWARFFormValue(const DWARFUnit *unit) : m_unit(unit) {}
45 DWARFFormValue(const DWARFUnit *unit, dw_form_t form)
47 const DWARFUnit *GetUnit() const { return m_unit; }
48 void SetUnit(const DWARFUnit *unit) { m_unit = unit; }
60 const DWARFUnit *u);
64 /// If this is a reference to another DIE, return the corresponding DWARFUnit
67 std::pair<DWARFUnit *, uint64_t> ReferencedUnitAndOffset() const;
82 lldb::offset_t *offset_ptr, const DWARFUnit *unit);
92 const DWARFUnit *m_uni
[all...]
H A DDWARFDebugInfo.h17 #include "DWARFUnit.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 DDWARFUnit.cpp1 //===-- DWARFUnit.cpp -----------------------------------------------------===//
9 #include "DWARFUnit.h"
35 DWARFUnit::DWARFUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid, function in class:DWARFUnit
43 DWARFUnit::~DWARFUnit() = default;
46 void DWARFUnit::ExtractUnitDIENoDwoIfNeeded() {
73 void DWARFUnit::ExtractUnitDIEIfNeeded() {
90 DWARFUnit *dwo_cu = dwo_symbol_file->GetDWOCompileUnitForHash(*m_dwo_id);
137 m_dwo = std::shared_ptr<DWARFUnit>(st
[all...]
H A DDWARFDebugInfo.cpp65 DWARFUnit *cu = GetUnitAtIndex(idx);
84 llvm::Expected<DWARFUnitSP> unit_sp = DWARFUnit::extract(
118 DWARFUnit *DWARFDebugInfo::GetUnitAtIndex(size_t idx) {
119 DWARFUnit *cu = nullptr;
143 DWARFUnit *DWARFDebugInfo::GetUnitAtOffset(DIERef::Section section,
147 DWARFUnit *result = GetUnitAtIndex(idx);
157 DWARFUnit *DWARFDebugInfo::GetUnit(const DIERef &die_ref) {
161 DWARFUnit *
165 DWARFUnit *result = GetUnitAtIndex(idx);
189 DWARFUnit *c
[all...]
H A DDWARFUnit.h1 //===-- DWARFUnit.h ---------------------------------------------*- C++ -*-===//
24 class DWARFUnit;
30 typedef std::shared_ptr<DWARFUnit> DWARFUnitSP;
89 class DWARFUnit : public UserID { class in namespace:lldb_private::plugin::dwarf
98 virtual ~DWARFUnit();
108 DWARFUnit *m_cu;
112 ScopedExtractDIEs(DWARFUnit &cu);
126 /// this DWARFUnit. It could be .debug_info or .debug_types
195 DWARFUnit &GetNonSkeletonUnit();
197 static uint8_t GetAddressByteSize(const DWARFUnit *c
[all...]
H A DDWARFAttribute.h19 class DWARFUnit;
50 DWARFUnit *CompileUnitAtIndex(uint32_t i) const { return m_infos[i].cu; }
70 DWARFUnit *cu; // Keep the compile unit with each attribute in
H A DDWARFDebugInfoEntry.cpp30 #include "DWARFUnit.h"
41 // Extract a debug info entry for a given DWARFUnit from the data
44 const DWARFUnit *cu,
88 static DWARFRangeList GetRangesOrReportError(DWARFUnit &unit,
122 DWARFUnit *cu, const char *&name, const char *&mangled,
296 void DWARFDebugInfoEntry::GetAttributes(DWARFUnit *cu,
359 const DWARFUnit *cu, const dw_attr_t attr, DWARFFormValue &form_value,
416 const DWARFUnit *cu, const dw_attr_t attr, const char *fail_value,
429 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value,
440 const DWARFUnit *c
[all...]
H A DDWARFAttribute.cpp10 #include "DWARFUnit.h"
33 AttributeValue attr_value = {const_cast<DWARFUnit *>(form_value.GetUnit()),
41 const DWARFUnit *cu = CompileUnitAtIndex(i);
H A DNameToDIE.h21 class DWARFUnit;
45 FindAllEntriesForUnit(DWARFUnit &unit,
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Expression/
H A DDWARFExpression.h25 class DWARFUnit;
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 DDWARFExpressionList.h20 class DWARFUnit;
32 const plugin::dwarf::DWARFUnit *dwarf_cu,
38 const plugin::dwarf::DWARFUnit *dwarf_cu)
144 const plugin::dwarf::DWARFUnit *m_dwarf_cu = nullptr;
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFTypeUnit.h13 #include "llvm/DebugInfo/DWARF/DWARFUnit.h"
24 class DWARFTypeUnit : public DWARFUnit {
32 : DWARFUnit(Context, Section, Header, DA, RS, LocSection, SS, SOS, AOS,
40 static bool classof(const DWARFUnit *U) { return U->isTypeUnit(); }
H A DDWARFCompileUnit.h12 #include "llvm/DebugInfo/DWARF/DWARFUnit.h"
22 class DWARFCompileUnit : public DWARFUnit {
30 : DWARFUnit(Context, Section, Header, DA, RS, LocSection, SS, SOS, AOS,
38 static bool classof(const DWARFUnit *U) { return !U->isTypeUnit(); }
H A DDWARFDebugInfoEntry.h18 class DWARFUnit;
41 bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr,
H A DDWARFAbbreviationDeclaration.h23 class DWARFUnit;
62 /// byte size of Form either varies according to the DWARFUnit
87 /// use the DWARFUnit to calculate the size of the Form, like for
90 std::optional<int64_t> getByteSize(const DWARFUnit &U) const;
143 /// Extract an attribute value for a DWARFUnit given the DIE offset and the
149 /// \param U the DWARFUnit the contains the DIE.
153 const DWARFUnit &U) const;
160 /// \param U the DWARFUnit the contains the DIE.
163 const DWARFUnit &U) const;
170 /// \param U the DWARFUnit th
[all...]
H A DDWARFDebugRnglists.h22 class DWARFUnit;
59 DWARFUnit &U) const;
H A DDWARFUnit.h1 //===- DWARFUnit.h ----------------------------------------------*- C++ -*-===//
39 class DWARFUnit;
124 bool isCompileUnit(const std::unique_ptr<DWARFUnit> &U);
128 class DWARFUnitVector final : public SmallVector<std::unique_ptr<DWARFUnit>, 1> {
129 std::function<std::unique_ptr<DWARFUnit>(uint64_t, DWARFSectionKind,
136 using UnitVector = SmallVectorImpl<std::unique_ptr<DWARFUnit>>;
143 DWARFUnit *getUnitForOffset(uint64_t Offset) const;
144 DWARFUnit *getUnitForIndexEntry(const DWARFUnitIndex::Entry &E);
160 /// Add an existing DWARFUnit to this UnitVector. This is used by the DWARF
162 DWARFUnit *addUni
211 class DWARFUnit { class in namespace:llvm
[all...]
H A DDWARFFormValue.h23 class DWARFUnit;
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; }
101 const DWARFUnit *Unit = nullptr);
104 dwarf::FormParams FormParams, const DWARFUnit *U) {
112 DWARFUnit *Unit;
128 /// attributes. We need to use the file index in the correct DWARFUnit'
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnit.cpp1 //===- DWARFUnit.cpp ------------------------------------------------------===//
9 #include "llvm/DebugInfo/DWARF/DWARFUnit.h"
78 -> std::unique_ptr<DWARFUnit> {
103 std::unique_ptr<DWARFUnit> U;
139 DWARFUnit *DWARFUnitVector::addUnit(std::unique_ptr<DWARFUnit> Unit) {
141 [](const std::unique_ptr<DWARFUnit> &LHS,
142 const std::unique_ptr<DWARFUnit> &RHS) {
148 DWARFUnit *DWARFUnitVector::getUnitForOffset(uint64_t Offset) const {
152 [](uint64_t LHS, const std::unique_ptr<DWARFUnit>
190 DWARFUnit::DWARFUnit(DWARFContext &DC, const DWARFSection &Section, function in class:DWARFUnit
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerBase.h22 class DWARFUnit;
84 using CompileUnitHandlerTy = function_ref<void(const DWARFUnit &Unit)>;
107 CompileUnitHandlerTy OnCUDieLoaded = [](const DWARFUnit &) {}) = 0;

Completed in 140 milliseconds

1234