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

References

include/llvm/BinaryFormat/MachO.h
 1109 inline void swapStruct(dyld_info_command &info) {
include/llvm/Object/MachO.h
  512   MachO::dyld_info_command
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/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));
  631   if (Load.C.cmdsize < sizeof(MachO::dyld_info_command))
  638     getStructOrErr<MachO::dyld_info_command>(Obj, Load.Ptr);
  641   MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get();
  642   if (DyldInfo.cmdsize != sizeof(MachO::dyld_info_command))
 4327 MachO::dyld_info_command
 4329   return getStruct<MachO::dyld_info_command>(*this, L.Ptr);
 4536     getStructOrErr<MachO::dyld_info_command>(*this, DyldInfoLoadCmd);
 4539   MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get();
 4550     getStructOrErr<MachO::dyld_info_command>(*this, DyldInfoLoadCmd);
 4553   MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get();
 4564     getStructOrErr<MachO::dyld_info_command>(*this, DyldInfoLoadCmd);
 4567   MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get();
 4578     getStructOrErr<MachO::dyld_info_command>(*this, DyldInfoLoadCmd);
 4581   MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get();
 4592     getStructOrErr<MachO::dyld_info_command>(*this, DyldInfoLoadCmd);
 4595   MachO::dyld_info_command DyldInfo = DyldInfoOrErr.get();
lib/ObjectYAML/MachOEmitter.cpp
  392   MachO::dyld_info_command *DyldInfoOnlyCmd = 0;
lib/ObjectYAML/MachOYAML.cpp
  263     IO &IO, MachO::dyld_info_command &LoadCommand) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  277   const dyld_info_command *dyldInfo = nullptr;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  403   size += sizeof(dyld_info_command);
  852     dyld_info_command* di = reinterpret_cast<dyld_info_command*>(lc);
  854     di->cmdsize        = sizeof(dyld_info_command);
  867     lc += sizeof(dyld_info_command);
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 2055   struct dyld_info_command dyld_info = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
tools/llvm-objcopy/MachO/MachOWriter.cpp
   50     const MachO::dyld_info_command &DyLdInfoCommand =
  307   const MachO::dyld_info_command &DyLdInfoCommand =
  319   const MachO::dyld_info_command &DyLdInfoCommand =
  331   const MachO::dyld_info_command &DyLdInfoCommand =
  343   const MachO::dyld_info_command &DyLdInfoCommand =
  355   const MachO::dyld_info_command &DyLdInfoCommand =
  419     const MachO::dyld_info_command &DyLdInfoCommand =
tools/llvm-objdump/MachODump.cpp
 8943 static void PrintDyldInfoLoadCommand(MachO::dyld_info_command dc,
 8950   if (dc.cmdsize != sizeof(struct MachO::dyld_info_command))
10105       MachO::dyld_info_command DyldInfo = Obj->getDyldInfoLoadCommand(Command);
tools/obj2yaml/macho2yaml.cpp
  124   return LoadCmd.Ptr + sizeof(StructType);
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; };