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

References

include/llvm/BinaryFormat/MachO.h
 1085 inline void swapStruct(section_64 &sect) {
include/llvm/Object/MachO.h
  488   MachO::section_64 getSection64(DataRefImpl DRI) const;
  490   MachO::section_64 getSection64(const LoadCommandInfo &L,unsigned Index) const;
include/llvm/ObjectYAML/MachOYAML.h
  302   static void mapping(IO &IO, MachO::section_64 &LoadCommand);
include/llvm/Support/AlignOf.h
   30   T t;
   39 template <typename T> union SizerImpl<T> { char arr[sizeof(T)]; };
   50       llvm::detail::SizerImpl<T, Ts...>)];
include/llvm/Support/Error.h
  437   static const bool isRef = std::is_reference<T>::value;
  439   using wrap = std::reference_wrapper<typename std::remove_reference<T>::type>;
  444   using storage_type = typename std::conditional<isRef, wrap, T>::type;
  445   using value_type = T;
  448   using reference = typename std::remove_reference<T>::type &;
  449   using const_reference = const typename std::remove_reference<T>::type &;
  450   using pointer = typename std::remove_reference<T>::type *;
  451   using const_pointer = const typename std::remove_reference<T>::type *;
  474   Expected(OtherT &&Val,
  475            typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
  475            typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
  483     new (getStorage()) storage_type(std::forward<OtherT>(Val));
  492   Expected(Expected<OtherT> &&Other,
  493            typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
  493            typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
  594   template <class OtherT> void moveConstruct(Expected<OtherT> &&Other) {
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
  116       const MachO::section_64 &Sec64 =
lib/MC/MachObjectWriter.cpp
  189           NumSections * (is64Bit() ? sizeof(MachO::section_64) :
  770     sizeof(MachO::segment_command_64) + NumSections * sizeof(MachO::section_64):
lib/Object/MachOObjectFile.cpp
   68 static T getStruct(const MachOObjectFile &O, const char *P) {
   70   if (P < O.getData().begin() || P + sizeof(T) > O.getData().end())
   73   T Cmd;
   74   memcpy(&Cmd, P, sizeof(T));
   81 static Expected<T> getStructOrErr(const MachOObjectFile &O, const char *P) {
   83   if (P < O.getData().begin() || P + sizeof(T) > O.getData().end())
   86   T Cmd;
   87   memcpy(&Cmd, P, sizeof(T));
  101   unsigned SectionSize = Is64 ? sizeof(MachO::section_64) :
  175     MachO::section_64 Sect = O.getSection64(Sec);
  284     const unsigned SectionSize = sizeof(Section);
  294       auto SectionOrErr = getStructOrErr<Section>(Obj, Sec);
  297       Section s = SectionOrErr.get();
 1390                                          MachO::section_64>(
 1928     MachO::section_64 Sect = getSection64(Sec);
 1959     MachO::section_64 Sect = getSection64(Sec);
 1974     MachO::section_64 Sect = getSection64(Sec);
 2064     MachO::section_64 Sect = getSection64(Sec);
 4253 MachO::section_64 MachOObjectFile::getSection64(DataRefImpl DRI) const {
 4255   return getStruct<MachO::section_64>(*this, Sections[DRI.d.a]);
 4264 MachO::section_64 MachOObjectFile::getSection64(const LoadCommandInfo &L,
 4267   return getStruct<MachO::section_64>(*this, Sec);
 4409       MachO::section_64 Sect = getSection64(Sec);
lib/ObjectYAML/MachOEmitter.cpp
   91 SectionType constructSection(MachOYAML::Section Sec) {
   92   SectionType TempSec;
  134     auto TempSec = constructSection<MachO::section_64>(Sec);
  134     auto TempSec = constructSection<MachO::section_64>(Sec);
  139              sizeof(MachO::section_64));
  140     BytesWritten += sizeof(MachO::section_64);
lib/ObjectYAML/MachOYAML.cpp
  457                                                MachO::section_64 &Section) {
tools/dsymutil/MachOUtils.cpp
  224 static MachO::section_64
  274     auto Sect = getSection(Obj, Segment, LCI, i);
  327            NumSections * sizeof(MachO::section_64);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  287         const section_64 *sects = reinterpret_cast<const section_64*>
  290                                               + sectionCount*sizeof(section_64);
  295           const section_64 *sect = &sects[i];
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  157     typedef llvm::MachO::section_64         section;
  264   const size_t sectsSize = (_is64 ? sizeof(section_64) : sizeof(section));
  388   const size_t sectionSize = (_is64 ? sizeof(section_64) : sizeof(section));
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 1636   struct section_64 sect64;
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
  222   std::vector<llvm::MachO::section_64> m_mach_sections;
tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
   30               sizeof(MachO::section_64) * LC.Sections.size();
  192           sizeof(MachO::section_64) * LC.Sections.size();
tools/llvm-objcopy/MachO/MachOReader.cpp
   31 Section constructSectionCommon(SectionType Sec) {
   58 template <> Section constructSection(MachO::section_64 Sec) {
   71   const SectionType *Curr =
   76       SectionType Sec;
   77       memcpy((void *)&Sec, Curr, sizeof(SectionType));
  127           extractSections<MachO::section_64, MachO::segment_command_64>(
tools/llvm-objcopy/MachO/MachOWriter.cpp
  171         writeSectionInLoadCommand<MachO::section_64>(Sec, Begin);
  206   StructType Temp;
  210   memset(&Temp, 0, sizeof(StructType));
  225   memcpy(Out, &Temp, sizeof(StructType));
  226   Out += sizeof(StructType);
tools/llvm-objdump/MachODump.cpp
  739         MachO::section_64 Sec = O->getSection64(Load, J);
 1075         const MachO::section_64 Sec = O->getSection64(Load, J);
 1456       const MachO::section_64 Sec = O->getSection64(Ref);
 1546       const MachO::section_64 Sec = O->getSection64(Ref);
 1764           const MachO::section_64 Sec = O->getSection64(Ref);
 3020         MachO::section_64 Sec = info->O->getSection64(Load, J);
 3076         MachO::section_64 Sec = info->O->getSection64(Load, J);
 3227         MachO::section_64 Sec = info->O->getSection64(Load, J);
 8549     expected_cmdsize *= sizeof(struct MachO::section_64);
10089         MachO::section_64 S_64 = Obj->getSection64(Command, j);
tools/llvm-readobj/MachODumper.cpp
  347   MachO::section_64 Sect = Obj->getSection64(Sec);
tools/llvm-size/llvm-size.cpp
  234         MachO::section_64 Sec = MachO->getSection64(Load, J);
  296           MachO::section_64 Sec = MachO->getSection64(Load, J);
tools/obj2yaml/macho2yaml.cpp
   66 MachOYAML::Section MachODumper::constructSectionCommon(SectionType Sec) {
   94 MachOYAML::Section MachODumper::constructSection(MachO::section_64 Sec) {
  105   const SectionType *Curr =
  109       SectionType Sec;
  110       memcpy((void *)&Sec, Curr, sizeof(SectionType));
  139   return extractSections<MachO::section_64, MachO::segment_command_64>(
tools/sancov/sancov.cpp
  614         MachO::section_64 Sec = O.getSection64(Load, J);
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)
  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
   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 { };
usr/include/c++/7.4.0/bits/stl_algobase.h
  356         static _Tp*
  357         __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result)
  357         __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result)
  357         __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result)
  361 					   is_move_assignable<_Tp>,
  362 					   is_copy_assignable<_Tp>>;
  368 	    __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
usr/include/c++/7.4.0/bits/stl_construct.h
  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*
 1483 	_M_realloc_insert(iterator __position, _Args&&... __args);
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)...); }
  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
  762     typename add_rvalue_reference<_Tp>::type declval() noexcept;
  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
 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>
 1304     : public is_assignable<_Tp&, _Tp&&>
 1304     : public is_assignable<_Tp&, _Tp&&>
 1310     : public __is_move_assignable_impl<_Tp>
 1526 	static void __test_aux(_To1);
 1538       typedef decltype(__test<_From, _To>(0)) type;
 1538       typedef decltype(__test<_From, _To>(0)) type;
 1545     : public __is_convertible_helper<_From, _To>::type
 1545     : public __is_convertible_helper<_From, _To>::type
 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; };
 1664     : public __add_rvalue_reference_helper<_Tp>
 1955     { typedef _Tp     type; };
 2171     { typedef _Iffalse type; };