|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.h 17 class DIERef;
References
include/llvm/ADT/Optional.h 144 T value;
160 explicit OptionalStorage(in_place_t, Args &&... args)
161 : value(std::forward<Args>(args)...), hasVal(true) {}
172 T &getValue() LLVM_LVALUE_FUNCTION noexcept {
176 T const &getValue() const LLVM_LVALUE_FUNCTION noexcept {
181 T &&getValue() && noexcept {
216 optional_detail::OptionalStorage<T> Storage;
219 using value_type = T;
224 Optional(const T &y) : Storage(optional_detail::in_place_t{}, y) {}
227 Optional(T &&y) : Storage(optional_detail::in_place_t{}, std::move(y)) {}
230 Optional &operator=(T &&y) {
241 static inline Optional create(const T *y) {
245 Optional &operator=(const T &y) {
253 const T *getPointer() const { return &Storage.getValue(); }
254 T *getPointer() { return &Storage.getValue(); }
255 const T &getValue() const LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
256 T &getValue() LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
260 const T *operator->() const { return getPointer(); }
261 T *operator->() { return getPointer(); }
262 const T &operator*() const LLVM_LVALUE_FUNCTION { return getValue(); }
263 T &operator*() LLVM_LVALUE_FUNCTION { return getValue(); }
266 constexpr T getValueOr(U &&value) const LLVM_LVALUE_FUNCTION {
271 T &&getValue() && { return std::move(Storage.getValue()); }
272 T &&operator*() && { return std::move(Storage.getValue()); }
275 T getValueOr(U &&value) && {
include/llvm/Support/FormatVariadic.h 253 inline auto formatv(const char *Fmt, Ts &&... Vals) -> formatv_object<decltype(
254 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...))> {
256 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...));
259 std::make_tuple(detail::build_format_adapter(std::forward<Ts>(Vals))...));
include/llvm/Support/FormatVariadicDetails.h 33 T Item;
36 explicit provider_format_adapter(T &&Item) : Item(std::forward<T>(Item)) {}
36 explicit provider_format_adapter(T &&Item) : Item(std::forward<T>(Item)) {}
39 format_provider<typename std::decay<T>::type>::format(Item, S, Options);
62 using Decayed = typename std::decay<T>::type;
78 using ConstRefT = const typename std::decay<T>::type &;
136 typename std::enable_if<uses_format_provider<T>::value,
137 provider_format_adapter<T>>::type
138 build_format_adapter(T &&Item) {
139 return provider_format_adapter<T>(std::forward<T>(Item));
include/llvm/Support/type_traits.h 91 T t;
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
145 std::is_copy_constructible<detail::trivial_helper<T>>::value;
147 !std::is_copy_constructible<T>::value;
151 std::is_move_constructible<detail::trivial_helper<T>>::value;
153 !std::is_move_constructible<T>::value;
157 is_copy_assignable<detail::trivial_helper<T>>::value;
159 !is_copy_assignable<T>::value;
163 is_move_assignable<detail::trivial_helper<T>>::value;
165 !is_move_assignable<T>::value;
169 std::is_destructible<detail::trivial_helper<T>>::value;
tools/lldb/include/lldb/Core/UniqueCStringMap.h 29 Entry(ConstString cstr, const T &v) : cstring(cstr), value(v) {}
32 T value;
38 void Append(ConstString unique_cstr, const T &value) {
50 bool GetValueAtIndex(uint32_t idx, T &value) const {
64 T GetValueAtIndexUnchecked(uint32_t idx) const { return m_map[idx].value; }
68 const T &GetValueRefAtIndexUnchecked(uint32_t idx) const {
82 T Find(ConstString unique_cstr, T fail_value) const {
82 T Find(ConstString unique_cstr, T fail_value) const {
120 size_t GetValues(ConstString unique_cstr, std::vector<T> &values) const {
131 std::vector<T> &values) const {
tools/lldb/include/lldb/Utility/Stream.h 422 template <typename... Args> void Format(const char *format, Args &&... args) {
423 PutCString(llvm::formatv(format, std::forward<Args>(args)...).str());
tools/lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp 162 for (const DIERef &die_ref : offsets) {
178 void AppleDWARFIndex::ReportInvalidDIERef(const DIERef &ref,
tools/lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.h 51 void ReportInvalidDIERef(const DIERef &ref, llvm::StringRef name) override;
tools/lldb/source/Plugins/SymbolFile/DWARF/DIERef.cpp 12 void llvm::format_provider<DIERef>::format(const DIERef &ref, raw_ostream &OS,
16 OS << (ref.section() == DIERef::DebugInfo ? "INFO" : "TYPE");
tools/lldb/source/Plugins/SymbolFile/DWARF/DIERef.h 53 static_assert(sizeof(DIERef) == 8, "");
55 typedef std::vector<DIERef> DIEArray;
59 static void format(const DIERef &ref, raw_ostream &OS, StringRef Style);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp 2000 const DIERef &die_ref = method_die_offsets[i];
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.cpp 21 llvm::Optional<DIERef> DWARFBaseDIE::GetDIERef() const {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.h 58 llvm::Optional<DIERef> GetDIERef() const;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h 27 DIERef::Section section)
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp 71 void DWARFDebugInfo::ParseUnitsFor(DIERef::Section section) {
72 DWARFDataExtractor data = section == DIERef::Section::DebugTypes
102 ParseUnitsFor(DIERef::Section::DebugInfo);
103 ParseUnitsFor(DIERef::Section::DebugTypes);
119 uint32_t DWARFDebugInfo::FindUnitIndex(DIERef::Section section,
137 DWARFUnit *DWARFDebugInfo::GetUnitAtOffset(DIERef::Section section,
151 DWARFUnit *DWARFDebugInfo::GetUnit(const DIERef &die_ref) {
156 DWARFDebugInfo::GetUnitContainingDIEOffset(DIERef::Section section,
179 DWARFDebugInfo::GetDIEForDIEOffset(DIERef::Section section,
191 DWARFDebugInfo::GetDIE(const DIERef &die_ref) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h 45 DWARFUnit *GetUnitAtOffset(DIERef::Section section, dw_offset_t cu_offset,
47 DWARFUnit *GetUnitContainingDIEOffset(DIERef::Section section,
49 DWARFUnit *GetUnit(const DIERef &die_ref);
52 DWARFDIE GetDIEForDIEOffset(DIERef::Section section,
54 DWARFDIE GetDIE(const DIERef &die_ref);
81 void ParseUnitsFor(DIERef::Section section);
83 uint32_t FindUnitIndex(DIERef::Section section, dw_offset_t offset);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp 532 DIERef::Section::DebugInfo, value);
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp 19 void DWARFIndex::ProcessFunctionDIE(llvm::StringRef name, DIERef ref,
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.h 49 virtual void ReportInvalidDIERef(const DIERef &ref, llvm::StringRef name) = 0;
59 void ProcessFunctionDIE(llvm::StringRef name, DIERef ref,
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFTypeUnit.h 31 DIERef::Section section)
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp 35 DIERef::Section section)
744 DWARFUnitHeader::extract(const DWARFDataExtractor &data, DIERef::Section section,
760 section == DIERef::Section::DebugTypes ? DW_UT_type : DW_UT_compile;
793 DIERef::Section section, lldb::offset_t *offset_ptr) {
827 return m_section == DIERef::Section::DebugTypes
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h 67 extract(const lldb_private::DWARFDataExtractor &data, DIERef::Section section,
79 DIERef::Section section, lldb::offset_t *offset_ptr);
212 DIERef::Section GetDebugSection() const { return m_section; }
230 DIERef::Section section);
291 const DIERef::Section m_section;
tools/lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp 46 llvm::Optional<DIERef>
52 DWARFUnit *cu = m_debug_info.GetUnitAtOffset(DIERef::Section::DebugInfo, *cu_offset);
64 DIERef::Section::DebugInfo, cu->GetOffset() + *die_offset);
71 if (llvm::Optional<DIERef> ref = ToDIERef(entry))
158 llvm::Optional<DIERef> ref = ToDIERef(entry);
231 if (llvm::Optional<DIERef> ref = ToDIERef(entry))
tools/lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h 44 void ReportInvalidDIERef(const DIERef &ref, llvm::StringRef name) override {}
69 llvm::Optional<DIERef> ToDIERef(const DebugNames::Entry &entry);
tools/lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h 67 explicit operator DIERef() const {
68 return DIERef(llvm::None, DIERef::Section::DebugInfo, die_offset);
tools/lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp 246 DIERef ref = *DWARFDIE(&unit, &die).GetDIERef();
407 for (const DIERef &die_ref: offsets) {
418 for (const DIERef &die_ref: offsets) {
431 for (const DIERef &die_ref: offsets) {
441 for (const DIERef &die_ref: offsets) {
tools/lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.h 44 void ReportInvalidDIERef(const DIERef &ref, llvm::StringRef name) override {}
tools/lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.cpp 25 void NameToDIE::Insert(ConstString name, const DIERef &die_ref) {
43 const DIERef &die_ref = m_map.GetValueAtIndexUnchecked(i);
62 std::function<bool(ConstString name, const DIERef &die_ref)> const
tools/lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.h 29 void Insert(lldb_private::ConstString name, const DIERef &die_ref);
46 const DIERef &die_ref)> const
50 lldb_private::UniqueCStringMap<DIERef> m_map;
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp 1226 user_id_t SymbolFileDWARF::GetUID(DIERef ref) {
1232 (lldb::user_id_t(ref.section() == DIERef::Section::DebugTypes) << 63);
1251 *dwarf, {llvm::None, DIERef::Section::DebugInfo, dw_offset_t(uid)}};
1257 DIERef::Section section =
1258 uid >> 63 ? DIERef::Section::DebugTypes : DIERef::Section::DebugInfo;
1258 uid >> 63 ? DIERef::Section::DebugTypes : DIERef::Section::DebugInfo;
1338 Type *SymbolFileDWARF::ResolveTypeUID(const DIERef &die_ref) {
1520 SymbolFileDWARF::GetDIE(const DIERef &die_ref) {
1768 debug_info->GetUnitAtOffset(DIERef::Section::DebugInfo,
2054 const DIERef &die_ref = die_offsets[i];
2147 const DIERef &die_ref = die_offsets[i];
2325 for (DIERef ref : offsets) {
2403 const DIERef &die_ref = die_offsets[i];
2470 const DIERef &die_ref = die_offsets[i];
2516 const DIERef &die_ref = die_offsets[i];
2695 const DIERef &die_ref = die_offsets[i];
2877 const DIERef &die_ref = die_offsets[i];
3113 const DIERef &die_ref = die_offsets[i];
3522 const DIERef &func_die_ref, dw_offset_t spec_block_die_offset) {
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h 266 virtual DWARFDIE GetDIE(const DIERef &die_ref);
274 lldb::user_id_t GetUID(const llvm::Optional<DIERef> &ref) {
278 lldb::user_id_t GetUID(DIERef ref);
364 lldb_private::Type *ResolveTypeUID(const DIERef &die_ref);
402 FindBlockContainingSpecification(const DIERef &func_die_ref,
449 DIERef ref;
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp 149 SymbolFileDWARFDwo::GetDIE(const DIERef &die_ref) {
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h 37 GetDIE(const DIERef &die_ref) override;
tools/lldb/unittests/Expression/DWARFExpressionTest.cpp 152 DIERef::DebugInfo, &offset_ptr);
usr/include/c++/7.4.0/bits/alloc_traits.h 387 using allocator_type = allocator<_Tp>;
389 using value_type = _Tp;
392 using pointer = _Tp*;
395 using const_pointer = const _Tp*;
474 construct(allocator_type& __a, _Up* __p, _Args&&... __args)
474 construct(allocator_type& __a, _Up* __p, _Args&&... __args)
475 { __a.construct(__p, std::forward<_Args>(__args)...); }
486 destroy(allocator_type& __a, _Up* __p)
usr/include/c++/7.4.0/bits/allocator.h 108 class allocator: public __allocator_base<_Tp>
113 typedef _Tp* pointer;
114 typedef const _Tp* const_pointer;
115 typedef _Tp& reference;
116 typedef const _Tp& const_reference;
117 typedef _Tp value_type;
137 allocator(const allocator<_Tp1>&) throw() { }
usr/include/c++/7.4.0/bits/move.h 46 inline _GLIBCXX_CONSTEXPR _Tp*
47 __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
72 constexpr _Tp&&
73 forward(typename std::remove_reference<_Tp>::type& __t) noexcept
83 constexpr _Tp&&
84 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
98 move(_Tp&& __t) noexcept
104 : public __and_<__not_<is_nothrow_move_constructible<_Tp>>,
105 is_copy_constructible<_Tp>>::type { };
136 inline _GLIBCXX17_CONSTEXPR _Tp*
137 addressof(_Tp& __r) noexcept
143 const _Tp* addressof(const _Tp&&) = delete;
143 const _Tp* addressof(const _Tp&&) = delete;
usr/include/c++/7.4.0/bits/ptr_traits.h 126 typedef _Tp* pointer;
128 typedef _Tp element_type;
141 pointer_to(__make_not_void<element_type>& __r) noexcept
141 pointer_to(__make_not_void<element_type>& __r) noexcept
usr/include/c++/7.4.0/bits/std_function.h 628 using _Invoker_type = _Res (*)(const _Any_data&, _ArgTypes&&...);
usr/include/c++/7.4.0/bits/stl_construct.h 74 _Construct(_T1* __p, _Args&&... __args)
74 _Construct(_T1* __p, _Args&&... __args)
75 { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
75 { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
204 allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_iterator.h 1224 __make_move_if_noexcept_iterator(_Tp* __i)
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h 181 typedef _Tp value_type;
183 typedef _Tp* pointer;
184 typedef _Tp& reference;
192 typedef _Tp value_type;
194 typedef const _Tp* pointer;
195 typedef const _Tp& reference;
usr/include/c++/7.4.0/bits/stl_uninitialized.h 288 _ForwardIterator __result, allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_vector.h 77 rebind<_Tp>::other _Tp_alloc_type;
216 class vector : protected _Vector_base<_Tp, _Alloc>
227 typedef _Vector_base<_Tp, _Alloc> _Base;
232 typedef _Tp value_type;
919 _Tp*
923 const _Tp*
1472 typename aligned_storage<sizeof(_Tp), alignof(_Tp)>::type __buf;
1472 typename aligned_storage<sizeof(_Tp), alignof(_Tp)>::type __buf;
1479 _M_insert_aux(iterator __position, _Arg&& __arg);
1483 _M_realloc_insert(iterator __position, _Args&&... __args);
usr/include/c++/7.4.0/bits/vector.tcc 386 *__position = std::forward<_Arg>(__arg);
usr/include/c++/7.4.0/ext/alloc_traits.h 117 { typedef typename _Base_type::template rebind_alloc<_Tp> other; };
usr/include/c++/7.4.0/ext/new_allocator.h 63 typedef _Tp* pointer;
64 typedef const _Tp* const_pointer;
65 typedef _Tp& reference;
66 typedef const _Tp& const_reference;
67 typedef _Tp value_type;
111 return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
130 { return size_t(-1) / sizeof(_Tp); }
135 construct(_Up* __p, _Args&&... __args)
135 construct(_Up* __p, _Args&&... __args)
136 { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
136 { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
140 destroy(_Up* __p) { __p->~_Up(); }
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
567 : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
631 : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
798 typedef decltype(__test<_Tp>(0)) type;
811 remove_all_extents<_Tp>::type>::type
825 : public __is_destructible_safe<_Tp>::type
984 typedef decltype(__test<_Tp, _Arg>(0)) type;
989 : public __and_<is_destructible<_Tp>,
990 __is_direct_constructible_impl<_Tp, _Arg>>
1072 __is_direct_constructible_ref_cast<_Tp, _Arg>,
1073 __is_direct_constructible_new_safe<_Tp, _Arg>
1079 : public __is_direct_constructible_new<_Tp, _Arg>::type
1119 : public __is_direct_constructible<_Tp, _Arg>
1130 : public __is_constructible_impl<_Tp, _Args...>::type
1142 : public is_constructible<_Tp, const _Tp&>
1142 : public is_constructible<_Tp, const _Tp&>
1148 : public __is_copy_constructible_impl<_Tp>
1160 : public is_constructible<_Tp, _Tp&&>
1160 : public is_constructible<_Tp, _Tp&&>
1166 : public __is_move_constructible_impl<_Tp>
1215 : public __and_<is_constructible<_Tp, _Args...>,
1216 __is_nt_constructible_impl<_Tp, _Args...>>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1252 : public __is_nothrow_move_constructible_impl<_Tp>
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1629 { typedef _Tp type; };
1633 { typedef _Tp type; };
1659 { typedef _Tp&& type; };
1955 { typedef _Tp type; };
2104 { typedef typename remove_cv<_Up>::type __type; };
2118 typedef typename remove_reference<_Tp>::type __remove_type;
2171 { typedef _Iffalse type; };