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

References

include/llvm/BinaryFormat/MachO.h
 1097 inline void swapStruct(section &sect) {
include/llvm/Object/MachO.h
  487   MachO::section getSection(DataRefImpl DRI) const;
  489   MachO::section getSection(const LoadCommandInfo &L, unsigned Index) const;
include/llvm/ObjectYAML/MachOYAML.h
  298   static void mapping(IO &IO, MachO::section &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
  125       const MachO::section &Sec32 = Obj.getSection(SecRef.getRawDataRefImpl());
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
  188   MachO::section Sec32 = Obj.getSection(PTSection.getRawDataRefImpl());
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h
  216     MachO::section Sec32 = Obj.getSection(JTSection.getRawDataRefImpl());
lib/MC/MachObjectWriter.cpp
  190                          sizeof(MachO::section)));
  771     sizeof(MachO::segment_command) + NumSections * sizeof(MachO::section);
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));
  102                                 sizeof(MachO::section);
  178   MachO::section Sect = O.getSection(Sec);
  284     const unsigned SectionSize = sizeof(Section);
  294       auto SectionOrErr = getStructOrErr<Section>(Obj, Sec);
  297       Section s = SectionOrErr.get();
 1396                                          MachO::section>(
 1933     MachO::section Sect = getSection(Sec);
 1963     MachO::section Sect = getSection(Sec);
 1977     MachO::section Sect = getSection(Sec);
 2067     MachO::section Sect = getSection(Sec);
 4248 MachO::section MachOObjectFile::getSection(DataRefImpl DRI) const {
 4250   return getStruct<MachO::section>(*this, Sections[DRI.d.a]);
 4258 MachO::section MachOObjectFile::getSection(const LoadCommandInfo &L,
 4261   return getStruct<MachO::section>(*this, Sec);
 4412       MachO::section Sect = getSection(Sec);
lib/ObjectYAML/MachOEmitter.cpp
   91 SectionType constructSection(MachOYAML::Section Sec) {
   92   SectionType TempSec;
  119     auto TempSec = constructSection<MachO::section>(Sec);
  119     auto TempSec = constructSection<MachO::section>(Sec);
  123              sizeof(MachO::section));
  124     BytesWritten += sizeof(MachO::section);
lib/ObjectYAML/MachOYAML.cpp
  442 void MappingTraits<MachO::section>::mapping(IO &IO, MachO::section &Section) {
tools/dsymutil/MachOUtils.cpp
  217 static MachO::section
  274     auto Sect = getSection(Obj, Segment, LCI, i);
  329   return sizeof(MachO::segment_command) + NumSections * sizeof(MachO::section);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  330         const section *sects = reinterpret_cast<const section*>
  333                                               + sectionCount*sizeof(section);
  338           const section *sect = &sects[i];
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  164     typedef llvm::MachO::section           section;
  264   const size_t sectsSize = (_is64 ? sizeof(section_64) : sizeof(section));
  388   const size_t sectionSize = (_is64 ? sizeof(section_64) : sizeof(section));
tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
   26               sizeof(MachO::section) * LC.Sections.size();
  183           sizeof(MachO::section) * LC.Sections.size();
tools/llvm-objcopy/MachO/MachOReader.cpp
   31 Section constructSectionCommon(SectionType Sec) {
   54 template <> Section constructSection(MachO::section Sec) {
   71   const SectionType *Curr =
   76       SectionType Sec;
   77       memcpy((void *)&Sec, Curr, sizeof(SectionType));
  122       LC.Sections = extractSections<MachO::section, MachO::segment_command>(
tools/llvm-objcopy/MachO/MachOWriter.cpp
  161         writeSectionInLoadCommand<MachO::section>(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
  767         MachO::section Sec = O->getSection(Load, J);
 1095         const MachO::section Sec = O->getSection(Load, J);
 1459       const MachO::section Sec = O->getSection(Ref);
 1549       const MachO::section Sec = O->getSection(Ref);
 1768           const MachO::section Sec = O->getSection(Ref);
 3041         MachO::section Sec = info->O->getSection(Load, J);
 3107         MachO::section Sec = info->O->getSection(Load, J);
 8544     expected_cmdsize *= sizeof(struct MachO::section);
10076         MachO::section S = Obj->getSection(Command, j);
tools/llvm-readobj/MachODumper.cpp
  335     MachO::section Sect = Obj->getSection(Sec);
tools/llvm-size/llvm-size.cpp
  261         MachO::section Sec = MachO->getSection(Load, J);
  322           MachO::section Sec = MachO->getSection(Load, J);
tools/obj2yaml/macho2yaml.cpp
   66 MachOYAML::Section MachODumper::constructSectionCommon(SectionType Sec) {
   87 MachOYAML::Section MachODumper::constructSection(MachO::section Sec) {
  105   const SectionType *Curr =
  109       SectionType Sec;
  110       memcpy((void *)&Sec, Curr, sizeof(SectionType));
  131   return extractSections<MachO::section, MachO::segment_command>(LoadCmd,
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
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_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
  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;
 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>
 2171     { typedef _Iffalse type; };