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

123

/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugInfoEntry.h44 void BuildAddressRangeTable(const DWARFUnit *cu,
47 void BuildFunctionAddressRangeTable(const DWARFUnit *cu,
51 const DWARFUnit *cu, lldb::offset_t *offset_ptr);
53 bool LookupAddress(const dw_addr_t address, DWARFUnit *cu,
57 size_t GetAttributes(const DWARFUnit *cu,
63 GetAttributeValue(const DWARFUnit *cu, const dw_attr_t attr,
69 const DWARFUnit *cu, const dw_attr_t attr, const char *fail_value,
73 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value,
77 const DWARFUnit *cu, const dw_attr_t attr,
81 const DWARFUnit *c
[all...]
H A DDWARFTypeUnit.h12 #include "DWARFUnit.h"
15 class DWARFTypeUnit : public DWARFUnit {
25 static bool classof(const DWARFUnit *unit) { return unit->IsTypeUnit(); }
32 : DWARFUnit(dwarf, uid, header, abbrevs, section, is_dwo) {}
34 friend class DWARFUnit;
H A DDWARFCompileUnit.h12 #include "DWARFUnit.h"
15 class DWARFCompileUnit : public DWARFUnit {
21 static bool classof(const DWARFUnit *unit) { return !unit->IsTypeUnit(); }
28 : DWARFUnit(dwarf, uid, header, abbrevs, section, is_dwo) {}
32 friend class DWARFUnit;
H A DDWARFBaseDIE.h20 class DWARFUnit;
29 DWARFBaseDIE(DWARFUnit *cu, DWARFDebugInfoEntry *die)
32 DWARFBaseDIE(const DWARFUnit *cu, DWARFDebugInfoEntry *die)
33 : m_cu(const_cast<DWARFUnit *>(cu)), m_die(die) {}
35 DWARFBaseDIE(DWARFUnit *cu, const DWARFDebugInfoEntry *die)
38 DWARFBaseDIE(const DWARFUnit *cu, const DWARFDebugInfoEntry *die)
39 : m_cu(const_cast<DWARFUnit *>(cu)),
54 DWARFUnit *GetCU() const { return m_cu; }
64 void Set(DWARFUnit *cu, DWARFDebugInfoEntry *die) {
122 DWARFUnit *m_c
[all...]
H A DDWARFDebugInfo.h17 #include "DWARFUnit.h"
29 DWARFUnit *cu,
38 DWARFUnit *GetUnitAtIndex(lldb::user_id_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 DDWARFUnit.cpp1 //===-- DWARFUnit.cpp -------------------------------------------*- C++ -*-===//
9 #include "DWARFUnit.h"
32 DWARFUnit::DWARFUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid, function in class:DWARFUnit
39 DWARFUnit::~DWARFUnit() = default;
42 void DWARFUnit::ExtractUnitDIEIfNeeded() {
53 Timer scoped_timer(func_cat, "%8.8x: DWARFUnit::ExtractUnitDIEIfNeeded()",
72 void DWARFUnit::ExtractDIEsIfNeeded() {
92 DWARFUnit
[all...]
H A DDWARFFormValue.h16 class DWARFUnit;
42 DWARFFormValue(const DWARFUnit *unit) : m_unit(unit) {}
43 DWARFFormValue(const DWARFUnit *unit, dw_form_t form)
45 void SetUnit(const DWARFUnit *unit) { m_unit = unit; }
58 const DWARFUnit *u);
74 lldb::offset_t *offset_ptr, const DWARFUnit *unit);
84 const DWARFUnit *m_unit = nullptr; // Unit for this form
H A DNameToDIE.h19 class DWARFUnit;
41 size_t FindAllEntriesForUnit(const DWARFUnit &unit,
H A DDWARFDebugRanges.h15 class DWARFUnit;
25 bool FindRanges(const DWARFUnit *cu, dw_offset_t debug_ranges_offset,
H A DDWARFAttribute.h17 class DWARFUnit;
55 void Append(const DWARFUnit *cu, dw_offset_t attr_die_offset,
57 const DWARFUnit *CompileUnitAtIndex(uint32_t i) const {
76 const DWARFUnit *cu; // Keep the compile unit with each attribute in
H A DDWARFDebugInfo.cpp59 DWARFUnit *cu = GetUnitAtIndex(idx);
78 DWARFUnit::extract(m_dwarf, m_units.size(), data, section, &offset);
112 DWARFUnit *DWARFDebugInfo::GetUnitAtIndex(user_id_t idx) {
113 DWARFUnit *cu = nullptr;
137 DWARFUnit *DWARFDebugInfo::GetUnitAtOffset(DIERef::Section section,
141 DWARFUnit *result = GetUnitAtIndex(idx);
151 DWARFUnit *DWARFDebugInfo::GetUnit(const DIERef &die_ref) {
155 DWARFUnit *
159 DWARFUnit *result = GetUnitAtIndex(idx);
181 DWARFUnit *c
[all...]
H A DManualDWARFIndex.h31 void GetGlobalVariables(const DWARFUnit &unit, DIEArray &offsets) override;
59 void IndexUnit(DWARFUnit &unit, IndexSet &set);
61 static void IndexUnitImpl(DWARFUnit &unit,
H A DDWARFAttribute.cpp10 #include "DWARFUnit.h"
28 void DWARFAttributes::Append(const DWARFUnit *cu, dw_offset_t attr_die_offset,
37 const DWARFUnit *cu = CompileUnitAtIndex(i);
H A DDWARFUnit.h1 //===-- DWARFUnit.h ---------------------------------------------*- C++ -*-===//
18 class DWARFUnit;
24 typedef std::shared_ptr<DWARFUnit> DWARFUnitSP;
71 class DWARFUnit : public lldb_private::UserID { class in inherits:lldb_private::UserID
80 virtual ~DWARFUnit();
86 DWARFUnit *m_cu;
89 ScopedExtractDIEs(DWARFUnit &cu);
103 /// this DWARFUnit. It could be .debug_info or .debug_types
167 DWARFUnit &GetNonSkeletonUnit();
169 static uint8_t GetAddressByteSize(const DWARFUnit *c
[all...]
H A DDWARFDebugInfoEntry.cpp29 #include "DWARFUnit.h"
37 // Extract a debug info entry for a given DWARFUnit from the data
40 const DWARFUnit *cu,
204 static DWARFRangeList GetRangesOrReportError(DWARFUnit &unit,
227 DWARFUnit *cu, const char *&name, const char *&mangled,
402 void DWARFDebugInfoEntry::Dump(const DWARFUnit *cu, Stream &s,
456 const DWARFUnit *cu, const DWARFDataExtractor &data,
505 s, locationData, DWARFUnit::GetAddressByteSize(cu), 4, false);
542 const DWARFUnit *cu, DWARFAttributes &attributes,
601 const DWARFUnit *c
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFCompileUnit.h12 #include "llvm/DebugInfo/DWARF/DWARFUnit.h"
17 class DWARFCompileUnit : public DWARFUnit {
25 : DWARFUnit(Context, Section, Header, DA, RS, LocSection, SS, SOS, AOS,
33 static bool classof(const DWARFUnit *U) { return !U->isTypeUnit(); }
H A DDWARFDebugInfoEntry.h20 class DWARFUnit;
39 bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr);
42 bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr,
H A DDWARFTypeUnit.h13 #include "llvm/DebugInfo/DWARF/DWARFUnit.h"
25 class DWARFTypeUnit : public DWARFUnit {
33 : DWARFUnit(Context, Section, Header, DA, RS, LocSection, SS, SOS, AOS,
41 static bool classof(const DWARFUnit *U) { return U->isTypeUnit(); }
H A DDWARFAbbreviationDeclaration.h24 class DWARFUnit;
54 /// byte size of Form either varies according to the DWARFUnit
79 /// use the DWARFUnit to calculate the size of the Form, like for
82 Optional<int64_t> getByteSize(const DWARFUnit &U) const;
125 /// Extract an attribute value for a DWARFUnit given the DIE offset and the
131 /// \param U the DWARFUnit the contains the DIE.
135 const DWARFUnit &U) const;
141 // if a constant byte size can be calculated given a DWARFUnit. This allows
143 Optional<size_t> getFixedAttributesByteSize(const DWARFUnit &U) const;
162 /// Calculate the fixed size in bytes given a DWARFUnit
[all...]
H A DDWARFDebugRnglists.h26 class DWARFUnit;
57 DWARFUnit &U) const;
H A DDWARFExpression.h18 class DWARFUnit;
94 const MCRegisterInfo *RegInfo, DWARFUnit *U, bool isEH);
95 bool verify(DWARFUnit *U);
138 void print(raw_ostream &OS, const MCRegisterInfo *RegInfo, DWARFUnit *U,
141 bool verify(DWARFUnit *U);
H A DDWARFFormValue.h23 class DWARFUnit;
59 const DWARFUnit *U = nullptr; /// Remember the DWARFUnit at extract time.
72 static DWARFFormValue createFromUnit(dwarf::Form F, const DWARFUnit *Unit,
79 const DWARFUnit *getUnit() const { return U; }
93 const DWARFUnit *Unit = nullptr);
96 dwarf::FormParams FormParams, const DWARFUnit *U) {
108 DWARFUnit *Unit;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnit.cpp1 //===- DWARFUnit.cpp ------------------------------------------------------===//
9 #include "llvm/DebugInfo/DWARF/DWARFUnit.h"
72 -> std::unique_ptr<DWARFUnit> {
84 std::unique_ptr<DWARFUnit> U;
120 DWARFUnit *DWARFUnitVector::addUnit(std::unique_ptr<DWARFUnit> Unit) {
122 [](const std::unique_ptr<DWARFUnit> &LHS,
123 const std::unique_ptr<DWARFUnit> &RHS) {
129 DWARFUnit *DWARFUnitVector::getUnitForOffset(uint64_t Offset) const {
133 [](uint64_t LHS, const std::unique_ptr<DWARFUnit>
171 DWARFUnit::DWARFUnit(DWARFContext &DC, const DWARFSection &Section, function in class:DWARFUnit
[all...]
H A DDWARFDebugInfoEntry.cpp13 #include "llvm/DebugInfo/DWARF/DWARFUnit.h"
21 bool DWARFDebugInfoEntry::extractFast(const DWARFUnit &U,
28 bool DWARFDebugInfoEntry::extractFast(const DWARFUnit &U, uint64_t *OffsetPtr,
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Expression/
H A DDWARFExpression.h20 class DWARFUnit;
45 const DWARFUnit *dwarf_cu);
205 const DWARFUnit *dwarf_cu,
224 static void PrintDWARFLocationList(Stream &s, const DWARFUnit *cu,
264 const DWARFUnit *m_dwarf_cu;

Completed in 119 milliseconds

123