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

References

include/llvm/BinaryFormat/MachO.h
 1188 inline void swapStruct(dylinker_command &d) {
include/llvm/Object/MachO.h
  514   MachO::dylinker_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));
  777   if (Load.C.cmdsize < sizeof(MachO::dylinker_command))
  780   auto CommandOrErr = getStructOrErr<MachO::dylinker_command>(Obj, Load.Ptr);
  783   MachO::dylinker_command D = CommandOrErr.get();
  784   if (D.name < sizeof(MachO::dylinker_command))
 4332 MachO::dylinker_command
 4334   return getStruct<MachO::dylinker_command>(*this, L.Ptr);
lib/ObjectYAML/MachOEmitter.cpp
  162 size_t writeLoadCommandData<MachO::dylinker_command>(MachOYAML::LoadCommand &LC,
lib/ObjectYAML/MachOYAML.cpp
  229 void mapLoadCommandData<MachO::dylinker_command>(
  320     IO &IO, MachO::dylinker_command &LoadCommand) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  418     size += pointerAlign(sizeof(dylinker_command) + dyldPath().size()+1);
  914       uint32_t size=pointerAlign(sizeof(dylinker_command)+dyldPath().size()+1);
  915       dylinker_command* dl = reinterpret_cast<dylinker_command*>(lc);
  918       dl->name             = sizeof(dylinker_command); // offset
  921       memcpy(lc+sizeof(dylinker_command), dyldPath().data(), dyldPath().size());
  922       lc[sizeof(dylinker_command)+dyldPath().size()] = '\0';
tools/llvm-objdump/MachODump.cpp
 9017 static void PrintDyldLoadCommand(MachO::dylinker_command dyld,
 9028   if (dyld.cmdsize < sizeof(struct MachO::dylinker_command))
10110       MachO::dylinker_command Dyld = Obj->getDylinkerCommand(Command);
tools/obj2yaml/macho2yaml.cpp
  147   auto Start = LoadCmd.Ptr + sizeof(StructType);
  148   auto MaxSize = LoadCmd.C.cmdsize - sizeof(StructType);
  162 const char *MachODumper::processLoadCommandData<MachO::dylinker_command>(
  165   return readString<MachO::dylinker_command>(LC, 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; };