|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Derived Classes
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h 15 class DWARFCompileUnit : public DWARFUnit {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFTypeUnit.h 15 class DWARFTypeUnit : public DWARFUnit {
Declarations
tools/lldb/include/lldb/Expression/DWARFExpression.h 20 class DWARFUnit;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.h 17 class DWARFUnit;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.h 20 class DWARFUnit;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h 15 class DWARFUnit;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp 20 class DWARFUnit;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h 16 class DWARFUnit;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h 18 class DWARFUnit;
tools/lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.h 19 class DWARFUnit;
References
include/llvm/Support/Casting.h 34 using SimpleType = From; // The real type this represents...
37 static SimpleType &getSimplifiedValue(From &Val) { return Val; }
41 using NonConstSimpleType = typename simplify_type<From>::SimpleType;
47 static RetType getSimplifiedValue(const From& Val) {
57 static inline bool doit(const From &Val) {
76 static inline bool doit(const From &Val) {
77 return isa_impl<To, From>::doit(Val);
104 static inline bool doit(const From *Val) {
106 return isa_impl<To, From>::doit(*Val);
141 template <class X, class Y> LLVM_NODISCARD inline bool isa(const Y &Val) {
142 return isa_impl_wrap<X, const Y,
143 typename simplify_type<const Y>::SimpleType>::doit(Val);
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
236 std::is_same<X, typename simplify_type<X>::SimpleType>::value;
236 std::is_same<X, typename simplify_type<X>::SimpleType>::value;
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
258 return cast_convert_val<X, Y,
259 typename simplify_type<Y>::SimpleType>::doit(Val);
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
266 typename simplify_type<Y*>::SimpleType>::doit(Val);
305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
306 cast_or_null(Y *Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
367 dyn_cast_or_null(Y *Val) {
include/llvm/Support/type_traits.h 55 struct add_const_past_pointer { using type = const T; };
tools/lldb/include/lldb/Expression/DWARFExpression.h 54 const DWARFUnit *dwarf_cu);
226 const DWARFUnit *dwarf_cu,
245 static void PrintDWARFLocationList(Stream &s, const DWARFUnit *cu,
276 const DWARFUnit *dwarf_cu, const DataExtractor &debug_loc_data,
291 const DWARFUnit *m_dwarf_cu;
tools/lldb/source/Expression/DWARFExpression.cpp 45 ReadAddressFromDebugAddrSection(const DWARFUnit *dwarf_cu,
63 const DWARFUnit *dwarf_cu)
1016 const DWARFUnit *dwarf_cu, const lldb::RegisterKind reg_kind,
2659 const DWARFUnit *dwarf_cu, const DataExtractor &debug_loc_data,
2916 Stream &s, const DWARFUnit *cu, const DataExtractor &debug_loc_data,
2919 uint32_t addr_size = DWARFUnit::GetAddressByteSize(cu);
2920 s.SetAddressByteSize(DWARFUnit::GetAddressByteSize(cu));
tools/lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp 70 void AppleDWARFIndex::GetGlobalVariables(const DWARFUnit &cu,
tools/lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.h 38 void GetGlobalVariables(const DWARFUnit &cu, DIEArray &offsets) override;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp 358 if (DWARFUnit *unit = die.GetCU())
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.cpp 28 void DWARFAttributes::Append(const DWARFUnit *cu, dw_offset_t attr_die_offset,
37 const DWARFUnit *cu = CompileUnitAtIndex(i);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.h 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
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.h 29 DWARFBaseDIE(DWARFUnit *cu, DWARFDebugInfoEntry *die)
32 DWARFBaseDIE(const DWARFUnit *cu, DWARFDebugInfoEntry *die)
35 DWARFBaseDIE(DWARFUnit *cu, const DWARFDebugInfoEntry *die)
38 DWARFBaseDIE(const DWARFUnit *cu, const DWARFDebugInfoEntry *die)
54 DWARFUnit *GetCU() const { return m_cu; }
64 void Set(DWARFUnit *cu, DWARFDebugInfoEntry *die) {
122 DWARFUnit *m_cu;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h 15 class DWARFCompileUnit : public DWARFUnit {
21 static bool classof(const DWARFUnit *unit) { return !unit->IsTypeUnit(); }
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp 132 DWARFUnit *cu = GetCU();
146 DWARFUnit *cu = GetCU();
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h 17 using DWARFBaseDIE::DWARFBaseDIE;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp 59 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 *cu = GetUnitContainingDIEOffset(section, die_offset);
192 DWARFUnit *cu = GetUnit(die_ref);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h 35 DWARFUnit *cu,
44 DWARFUnit *GetUnitAtIndex(lldb::user_id_t idx);
45 DWARFUnit *GetUnitAtOffset(DIERef::Section section, dw_offset_t cu_offset,
47 DWARFUnit *GetUnitContainingDIEOffset(DIERef::Section section,
49 DWARFUnit *GetUnit(const DIERef &die_ref);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp 40 const DWARFUnit *cu,
226 const DWARFUnit *cu, const char *&name, const char *&mangled,
401 void DWARFDebugInfoEntry::Dump(const DWARFUnit *cu, Stream &s,
455 const DWARFUnit *cu, const DWARFDataExtractor &data,
506 s, locationData, DWARFUnit::GetAddressByteSize(cu), 4, false);
543 const DWARFUnit *cu, DWARFAttributes &attributes,
602 const DWARFUnit *cu, const dw_attr_t attr, DWARFFormValue &form_value,
677 const DWARFUnit *cu, const dw_attr_t attr, const char *fail_value,
690 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value,
704 const DWARFUnit *cu, const dw_attr_t attr,
714 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value,
730 const DWARFUnit *cu, dw_addr_t lo_pc, uint64_t fail_value,
753 const DWARFUnit *cu, dw_addr_t &lo_pc, dw_addr_t &hi_pc,
769 const DWARFUnit *cu, DWARFRangeList &ranges, bool check_hi_lo_pc,
792 const char *DWARFDebugInfoEntry::GetName(const DWARFUnit *cu) const {
801 DWARFDebugInfoEntry::GetMangledName(const DWARFUnit *cu,
824 const char *DWARFDebugInfoEntry::GetPubname(const DWARFUnit *cu) const {
843 const DWARFUnit *cu, DWARFDebugAranges *debug_aranges) const {
870 const DWARFUnit *cu, DWARFDebugAranges *debug_aranges) const {
891 DWARFUnit *cu, DWARFDeclContext &dwarf_decl_ctx) const {
906 DWARFDebugInfoEntry::GetParentDeclContextDIE(DWARFUnit *cu) const {
914 DWARFUnit *cu, const DWARFAttributes &attributes) const {
955 const char *DWARFDebugInfoEntry::GetQualifiedName(DWARFUnit *cu,
963 DWARFDebugInfoEntry::GetQualifiedName(DWARFUnit *cu,
1016 const DWARFUnit *cu,
1224 DWARFDebugInfoEntry::GetAbbreviationDeclarationPtr(const DWARFUnit *cu) const {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h 40 void BuildAddressRangeTable(const DWARFUnit *cu,
43 void BuildFunctionAddressRangeTable(const DWARFUnit *cu,
47 const DWARFUnit *cu, lldb::offset_t *offset_ptr);
49 bool LookupAddress(const dw_addr_t address, const DWARFUnit *cu,
53 size_t GetAttributes(const DWARFUnit *cu,
59 GetAttributeValue(const DWARFUnit *cu, const dw_attr_t attr,
65 const DWARFUnit *cu, const dw_attr_t attr, const char *fail_value,
69 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value,
73 const DWARFUnit *cu, const dw_attr_t attr,
77 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value,
81 GetAttributeHighPC(const DWARFUnit *cu, dw_addr_t lo_pc, uint64_t fail_value,
85 const DWARFUnit *cu, dw_addr_t &lo_pc, dw_addr_t &hi_pc,
90 const DWARFUnit *cu, DWARFRangeList &ranges, bool check_hi_lo_pc,
93 const char *GetName(const DWARFUnit *cu) const;
95 const char *GetMangledName(const DWARFUnit *cu,
98 const char *GetPubname(const DWARFUnit *cu) const;
100 const char *GetQualifiedName(DWARFUnit *cu, std::string &storage) const;
102 const char *GetQualifiedName(DWARFUnit *cu, const DWARFAttributes &attributes,
105 void Dump(const DWARFUnit *cu, lldb_private::Stream &s,
109 DumpAttribute(const DWARFUnit *cu,
115 const DWARFUnit *cu, const char *&name, const char *&mangled,
121 GetAbbreviationDeclarationPtr(const DWARFUnit *cu) const;
161 void GetDWARFDeclContext(DWARFUnit *cu,
164 DWARFDIE GetParentDeclContextDIE(DWARFUnit *cu) const;
165 DWARFDIE GetParentDeclContextDIE(DWARFUnit *cu,
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp 109 bool DWARFDebugRanges::FindRanges(const DWARFUnit *cu,
193 static uint64_t ReadAddressFromDebugAddrSection(const DWARFUnit *cu,
204 bool DWARFDebugRngLists::FindRanges(const DWARFUnit *cu,
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h 25 virtual bool FindRanges(const DWARFUnit *cu, dw_offset_t debug_ranges_offset,
34 bool FindRanges(const DWARFUnit *cu, dw_offset_t debug_ranges_offset,
61 bool FindRanges(const DWARFUnit *cu, dw_offset_t debug_ranges_offset,
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp 47 data.GetMaxU64(offset_ptr, DWARFUnit::GetAddressByteSize(m_unit));
189 DWARFFormValue::GetFixedSize(dw_form_t form, const DWARFUnit *u) {
209 const DWARFUnit *unit) {
243 *offset_ptr += DWARFUnit::GetAddressByteSize(unit);
530 DWARFUnit *ref_cu =
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h 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
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.h 34 virtual void GetGlobalVariables(const DWARFUnit &cu, DIEArray &offsets) = 0;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFTypeUnit.h 15 class DWARFTypeUnit : public DWARFUnit {
25 static bool classof(const DWARFUnit *unit) { return unit->IsTypeUnit(); }
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp 92 DWARFUnit::ScopedExtractDIEs DWARFUnit::ExtractDIEsScoped() {
112 DWARFUnit::ScopedExtractDIEs::ScopedExtractDIEs(DWARFUnit &cu) : m_cu(&cu) {
135 DWARFUnit::ScopedExtractDIEs &DWARFUnit::ScopedExtractDIEs::operator=(
136 DWARFUnit::ScopedExtractDIEs &&rhs) {
253 DWARFUnit *dwo_cu = m_dwo_symbol_file->GetCompileUnit();
264 static void SetDwoStrOffsetsBase(DWARFUnit *dwo_cu) {
332 DWARFUnit *dwo_cu = dwo_symbol_file->GetCompileUnit();
367 DWARFUnit *unit = m_dwo_symbol_file->DebugInfo()->GetUnitAtIndex(i);
481 DWARFUnit &DWARFUnit::GetNonSkeletonUnit() {
487 uint8_t DWARFUnit::GetAddressByteSize(const DWARFUnit *cu) {
490 return DWARFUnit::GetDefaultAddressSize();
730 DWARFUnit *dwo_cu = m_dwo_symbol_file->GetCompileUnit();
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h 24 typedef std::shared_ptr<DWARFUnit> DWARFUnitSP;
86 DWARFUnit *m_cu;
89 ScopedExtractDIEs(DWARFUnit &cu);
168 DWARFUnit &GetNonSkeletonUnit();
170 static uint8_t GetAddressByteSize(const DWARFUnit *cu);
tools/lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp 52 DWARFUnit *cu = m_debug_info.GetUnitAtOffset(DIERef::Section::DebugInfo, *cu_offset);
121 void DebugNamesDWARFIndex::GetGlobalVariables(const DWARFUnit &cu,
162 DWARFUnit *cu = m_debug_info.GetUnit(*ref);
tools/lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h 30 void GetGlobalVariables(const DWARFUnit &cu, DIEArray &offsets) override;
tools/lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp 34 std::vector<DWARFUnit *> units_to_index;
37 DWARFUnit *unit = debug_info.GetUnitAtIndex(U);
48 std::vector<llvm::Optional<DWARFUnit::ScopedExtractDIEs>> clear_cu_dies(
90 void ManualDWARFIndex::IndexUnit(DWARFUnit &unit, IndexSet &set) {
114 void ManualDWARFIndex::IndexUnitImpl(DWARFUnit &unit,
361 void ManualDWARFIndex::GetGlobalVariables(const DWARFUnit &unit,
tools/lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.h 31 void GetGlobalVariables(const DWARFUnit &unit, DIEArray &offsets) override;
59 void IndexUnit(DWARFUnit &unit, IndexSet &set);
61 static void IndexUnitImpl(DWARFUnit &unit,
tools/lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.cpp 38 size_t NameToDIE::FindAllEntriesForUnit(const DWARFUnit &unit,
tools/lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.h 41 size_t FindAllEntriesForUnit(const DWARFUnit &unit,
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp 346 DWARFUnit *dwarf_cu = nullptr;
644 DWARFUnit *
652 DWARFUnit *dwarf_cu = info->GetUnitAtIndex(comp_unit->GetID());
721 LanguageType cu_language = DWARFUnit::LanguageTypeFromDWARF(
823 DWARFUnit *dwarf_cu = GetDWARFCompileUnit(&comp_unit);
832 DWARFUnit *dwarf_cu = GetDWARFCompileUnit(&comp_unit);
868 FileSpec SymbolFileDWARF::GetFile(DWARFUnit &unit, size_t file_idx) {
914 DWARFUnit *dwarf_cu = GetDWARFCompileUnit(&comp_unit);
925 DWARFUnit *dwarf_cu = GetDWARFCompileUnit(sc.comp_unit);
977 DWARFUnit *dwarf_cu = GetDWARFCompileUnit(&comp_unit);
1056 DWARFUnit *dwarf_cu = GetDWARFCompileUnit(&comp_unit);
1537 DWARFUnit &unit, const DWARFDebugInfoEntry &cu_die) {
1602 DWARFUnit *dwarf_cu = debug_info->GetUnitAtIndex(cu_idx);
2345 DWARFUnit *cu = info->GetUnitAtIndex(i);
2654 bool SymbolFileDWARF::Supports_DW_AT_APPLE_objc_complete_type(DWARFUnit *cu) {
2663 DWARFUnit *dwarf_cu = debug_info->GetUnitAtIndex(cu_idx);
3043 DWARFUnit *dwarf_cu = GetDWARFCompileUnit(comp_unit);
3061 DWARFUnit *dwarf_cu = GetDWARFCompileUnit(&comp_unit);
3095 DWARFUnit *dwarf_cu = info->GetUnitAtIndex(sc.comp_unit->GetID());
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h 245 bool Supports_DW_AT_APPLE_objc_complete_type(DWARFUnit *cu);
281 GetDwoSymbolFileForCompileUnit(DWARFUnit &dwarf_cu,
304 lldb_private::FileSpec GetFile(DWARFUnit &unit, size_t file_idx);
340 virtual DWARFUnit *
343 DWARFUnit *GetNextUnparsedDWARFCompileUnit(DWARFUnit *prev_cu);
343 DWARFUnit *GetNextUnparsedDWARFCompileUnit(DWARFUnit *prev_cu);
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp 88 DWARFUnit *
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h 24 DWARFUnit *
40 GetDwoSymbolFileForCompileUnit(DWARFUnit &dwarf_cu,
tools/lldb/unittests/Expression/DWARFExpressionTest.cpp 27 DWARFUnit *unit = nullptr) {
149 llvm::Expected<DWARFUnitSP> dwarf_unit = DWARFUnit::extract(
usr/include/c++/7.4.0/bits/shared_ptr.h 93 class shared_ptr : public __shared_ptr<_Tp>
107 using element_type = typename __shared_ptr<_Tp>::element_type;
236 shared_ptr(const shared_ptr<_Yp>& __r) noexcept
253 shared_ptr(shared_ptr<_Yp>&& __r) noexcept
299 _Assignable<const shared_ptr<_Yp>&>
300 operator=(const shared_ptr<_Yp>& __r) noexcept
324 _Assignable<shared_ptr<_Yp>>
325 operator=(shared_ptr<_Yp>&& __r) noexcept
352 shared_ptr(const weak_ptr<_Tp>& __r, std::nothrow_t)
usr/include/c++/7.4.0/bits/shared_ptr_base.h 882 : is_convertible<_Yp*, _Tp*>::type
882 : is_convertible<_Yp*, _Tp*>::type
946 : is_convertible<_Yp*, _Tp*>::type
956 using element_type = _Tp;
1035 : public __shared_ptr_access<_Tp, _Lp>
1038 using element_type = typename remove_extent<_Tp>::type;
1126 __shared_ptr(const __shared_ptr<_Yp, _Lp>& __r) noexcept
1138 __shared_ptr(__shared_ptr<_Yp, _Lp>&& __r) noexcept
1192 _Assignable<_Yp>
1193 operator=(const __shared_ptr<_Yp, _Lp>& __r) noexcept
1218 _Assignable<_Yp>
1219 operator=(__shared_ptr<_Yp, _Lp>&& __r) noexcept
1272 swap(__shared_ptr<_Tp, _Lp>& __other) noexcept
1344 __shared_ptr(const __weak_ptr<_Tp, _Lp>& __r, std::nothrow_t)
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
1554 { typedef _Tp type; };
1558 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1942 { typedef _Tp type; };
1983 { typedef _Up type; };