reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/lldb/include/lldb/Core/Section.h
   31 class Section;
tools/lldb/include/lldb/lldb-forward.h
  189 class Section;

References

include/llvm/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
   91   typedef PointerLikeTypeTraits<T *> NonConst;
   93   static inline const void *getAsVoidPointer(const T *P) {
   96   static inline const T *getFromVoidPointer(const void *P) {
tools/lldb/include/lldb/Core/Section.h
   55   size_t FindSectionIndex(const Section *sect);
   96 class Section : public std::enable_shared_from_this<Section>,
  122   static int Compare(const Section &a, const Section &b);
  122   static int Compare(const Section &a, const Section &b);
  167   bool IsDescendant(const Section *section);
tools/lldb/include/lldb/Symbol/LineTable.h
  310     lldb_private::Section *a_section;
  315   typedef std::vector<lldb_private::Section *>
tools/lldb/include/lldb/Symbol/ObjectFile.h
  323   virtual void RelocateSection(lldb_private::Section *section);
  625   virtual size_t ReadSectionData(Section *section,
  632   virtual size_t ReadSectionData(Section *section,
tools/lldb/include/lldb/Target/SectionLoadList.h
   65   typedef llvm::DenseMap<const Section *, lldb::addr_t> sect_to_addr_collection;
tools/lldb/include/lldb/lldb-forward.h
  407 typedef std::shared_ptr<lldb_private::Section> SectionSP;
  409 typedef std::weak_ptr<lldb_private::Section> SectionWP;
tools/lldb/source/Core/Section.cpp
  250     Section *child_section = m_children.GetSectionAtIndex(i).get();
  281 int Section::Compare(const Section &a, const Section &b) {
  281 int Section::Compare(const Section &a, const Section &b) {
  362 bool Section::IsDescendant(const Section *section) {
  445 size_t SectionList::FindSectionIndex(const Section *sect) {
  511       Section *child_section = sect_iter->get();
  569     Section *sect = sect_iter->get();
tools/lldb/source/Expression/IRExecutionUnit.cpp
 1228       lldb::SectionSP section_sp(new lldb_private::Section(
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
  904               const Section *memory_section =
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
  629           Section *commpage_section =
tools/lldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp
  141     auto section_sp = std::make_shared<Section>(
tools/lldb/source/Plugins/ObjectFile/ELF/ELFHeader.cpp
  299     const lldb_private::Section *section =
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
  912   Section *dynsym =
  924   Section *dynstr = section_list->FindSectionByID(header->sh_link).get();
 1780     SectionSP Segment = std::make_shared<Section>(
 1818     SectionSP section_sp(new Section(
 2184           std::make_shared<Section>(module_sp, this, SHN_ABS, fake_section_name,
 2267                                          lldb_private::Section *symtab) {
 2288   Section *strtab = section_list->FindSectionByID(strtab_id).get();
 2317   Section *dynsym =
 2506   Section *rel_section = section_list->FindSectionByID(rel_id).get();
 2514   Section *symtab = section_list->FindSectionByID(symtab_id).get();
 2519   Section *strtab = section_list->FindSectionByID(sym_hdr->sh_link).get();
 2548     DataExtractor &debug_data, Section *rel_section) {
 2658   Section *rel = section_list->FindSectionByID(rel_id).get();
 2662   Section *symtab = section_list->FindSectionByID(symtab_id).get();
 2666   Section *debug = section_list->FindSectionByID(debug_id).get();
 2708     Section *symtab =
 2723       Section *dynsym =
 2746       Section *reloc_section =
 2824 void ObjectFileELF::RelocateSection(lldb_private::Section *section)
 3293 size_t ObjectFileELF::ReadSectionData(Section *section,
 3311 size_t ObjectFileELF::ReadSectionData(Section *section,
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
  142   size_t ReadSectionData(lldb_private::Section *section,
  146   size_t ReadSectionData(lldb_private::Section *section,
  155   void RelocateSection(lldb_private::Section *section) override;
  285                             lldb_private::Section *symtab);
  319                             lldb_private::Section *rel_section);
tools/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
  228 size_t ObjectFileJIT::ReadSectionData(lldb_private::Section *section,
  246     lldb_private::Section *section,
tools/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.h
   82   size_t ReadSectionData(lldb_private::Section *section,
   87   ReadSectionData(lldb_private::Section *section,
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 1583     segment_sp = std::make_shared<Section>(
 1678           Section *segment = segment_sp.get();
 1722           segment_sp = std::make_shared<Section>(
 1756       SectionSP section_sp(new Section(
 5917 Section *ObjectFileMachO::GetMachHeaderSection() {
 5930     Section *section = section_list->GetSectionAtIndex(sect_idx).get();
 5937 bool ObjectFileMachO::SectionIsLoadable(const Section *section) {
 5961     lldb::addr_t header_load_address, const Section *header_section,
 5962     const Section *section) {
 6001     Section *mach_header_section = GetMachHeaderSection();
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
  182   lldb_private::Section *GetMachHeaderSection();
  186       const lldb_private::Section *mach_header_section,
  187       const lldb_private::Section *section);
  208   bool SectionIsLoadable(const lldb_private::Section *section);
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  793     SectionSP header_sp = std::make_shared<Section>(
  905       SectionSP section_sp(new Section(
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
  234     Section *section = section_list->GetSectionAtIndex(i).get();
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
   87     auto section_sp = std::make_shared<Section>(
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
   89   Section &sect =
  113     Section &sect = *list.GetSectionAtIndex(m_next_section_idx++);
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  485     const Section *section = nullptr;
tools/lldb/source/Symbol/ObjectFile.cpp
  489 size_t ObjectFile::ReadSectionData(Section *section,
  538 size_t ObjectFile::ReadSectionData(Section *section,
  678 void ObjectFile::RelocateSection(lldb_private::Section *section)
tools/lldb/unittests/Expression/DWARFExpressionTest.cpp
   91       auto section_sp = std::make_shared<lldb_private::Section>(
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)
  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/shared_ptr.h
   67 	       const __shared_ptr<_Tp, _Lp>& __p)
   93     class shared_ptr : public __shared_ptr<_Tp>
  107       using element_type = typename __shared_ptr<_Tp>::element_type;
  129 	shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
  236 	shared_ptr(const shared_ptr<_Yp>& __r) noexcept
  253 	shared_ptr(shared_ptr<_Yp>&& __r) noexcept
  265 	explicit shared_ptr(const weak_ptr<_Yp>& __r)
  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)
  368     operator==(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
  368     operator==(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
  373     operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
  378     operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
  383     operator!=(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
  383     operator!=(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
  388     operator!=(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
  393     operator!=(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
  520     class weak_ptr : public __weak_ptr<_Tp>
  537 	weak_ptr(const shared_ptr<_Yp>& __r) noexcept
  543 	weak_ptr(const weak_ptr<_Yp>& __r) noexcept
  549 	weak_ptr(weak_ptr<_Yp>&& __r) noexcept
  556 	_Assignable<const weak_ptr<_Yp>&>
  557 	operator=(const weak_ptr<_Yp>& __r) noexcept
  564 	_Assignable<const shared_ptr<_Yp>&>
  565 	operator=(const shared_ptr<_Yp>& __r) noexcept
  575 	_Assignable<weak_ptr<_Yp>>
  576 	operator=(weak_ptr<_Yp>&& __r) noexcept
  582       shared_ptr<_Tp>
  638       shared_ptr<_Tp>
  642       shared_ptr<const _Tp>
  660 	_M_weak_assign(_Tp1* __p, const __shared_count<>& __n) const noexcept
  672       mutable weak_ptr<_Tp>  _M_weak_this;
  687     inline shared_ptr<_Tp>
  702     inline shared_ptr<_Tp>
  705       typedef typename std::remove_const<_Tp>::type _Tp_nc;
  706       return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(),
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
  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;
 1078 	__shared_ptr(_Yp* __p)
 1081 	  static_assert( !is_void<_Yp>::value, "incomplete type" );
 1082 	  static_assert( sizeof(_Yp) > 0, "incomplete type" );
 1126 	__shared_ptr(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1138 	__shared_ptr(__shared_ptr<_Yp, _Lp>&& __r) noexcept
 1146 	explicit __shared_ptr(const __weak_ptr<_Yp, _Lp>& __r)
 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
 1321 	    rebind_traits<typename std::remove_cv<_Tp>::type> __traits;
 1344       __shared_ptr(const __weak_ptr<_Tp, _Lp>& __r, std::nothrow_t)
 1366 	: __not_<is_array<_Tp>> { }; // No enable shared_from_this for arrays
 1369 	typename enable_if<__has_esft_base<_Yp2>::value>::type
 1370 	_M_enable_shared_from_this_with(_Yp* __p) noexcept
 1409     operator==(const __shared_ptr<_Tp1, _Lp>& __a,
 1415     operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
 1420     operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
 1425     operator!=(const __shared_ptr<_Tp1, _Lp>& __a,
 1431     operator!=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
 1436     operator!=(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
 1601       using element_type = typename remove_extent<_Tp>::type;
 1626 	__weak_ptr(const __weak_ptr<_Yp, _Lp>& __r) noexcept
 1631 	__weak_ptr(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1640 	__weak_ptr(__weak_ptr<_Yp, _Lp>&& __r) noexcept
 1648 	_Assignable<_Yp>
 1649 	operator=(const __weak_ptr<_Yp, _Lp>& __r) noexcept
 1657 	_Assignable<_Yp>
 1658 	operator=(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1675 	_Assignable<_Yp>
 1676 	operator=(__weak_ptr<_Yp, _Lp>&& __r) noexcept
 1684       __shared_ptr<_Tp, _Lp>
 1703 	owner_before(const __weak_ptr<_Tp1, _Lp>& __rhs) const noexcept
 1720       _M_assign(_Tp* __ptr, const __shared_count<_Lp>& __refcount) noexcept
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;
   84 	new_allocator(const new_allocator<_Tp1>&) _GLIBCXX_USE_NOEXCEPT { }
  111 	return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
  130       { return size_t(-1) / sizeof(_Tp); }
  135 	construct(_Up* __p, _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
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1942     { typedef _Tp     type; };