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

References

include/llvm/BinaryFormat/MachO.h
 1199 inline void swapStruct(rpath_command &r) {
include/llvm/Object/MachO.h
  518   MachO::rpath_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));
  876   if (Load.C.cmdsize < sizeof(MachO::rpath_command))
  879   auto ROrErr = getStructOrErr<MachO::rpath_command>(Obj, Load.Ptr);
  882   MachO::rpath_command R = ROrErr.get();
  883   if (R.path < sizeof(MachO::rpath_command))
 4342 MachO::rpath_command
 4344   return getStruct<MachO::rpath_command>(*this, L.Ptr);
lib/ObjectYAML/MachOEmitter.cpp
  169 size_t writeLoadCommandData<MachO::rpath_command>(MachOYAML::LoadCommand &LC,
lib/ObjectYAML/MachOYAML.cpp
  223 void mapLoadCommandData<MachO::rpath_command>(
  438     IO &IO, MachO::rpath_command &LoadCommand) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  472       const rpath_command *rpc = reinterpret_cast<const rpath_command *>(lc);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  447     size += pointerAlign(sizeof(rpath_command) + path.size() + 1);
  980       rpath_command *rpc = reinterpret_cast<rpath_command *>(lc);
  981       uint32_t size = pointerAlign(sizeof(rpath_command) + path.size() + 1);
  984       rpc->path                        = sizeof(rpath_command); // offset
  987       memcpy(lc+sizeof(rpath_command), path.begin(), path.size());
  988       lc[sizeof(rpath_command)+path.size()] = '\0';
tools/llvm-objdump/MachODump.cpp
 9056 static void PrintRpathLoadCommand(MachO::rpath_command rpath, const char *Ptr) {
 9059   if (rpath.cmdsize < sizeof(struct MachO::rpath_command))
10116       MachO::rpath_command Rpath = Obj->getRpathCommand(Command);
tools/obj2yaml/macho2yaml.cpp
  147   auto Start = LoadCmd.Ptr + sizeof(StructType);
  148   auto MaxSize = LoadCmd.C.cmdsize - sizeof(StructType);
  169 const char *MachODumper::processLoadCommandData<MachO::rpath_command>(
  172   return readString<MachO::rpath_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; };