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

References

include/llvm/BinaryFormat/MachO.h
 1045 inline void swapStruct(load_command &lc) {
include/llvm/Object/MachO.h
  266     MachO::load_command C; // The command itself.
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
   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));
  185   if (auto CmdOrErr = getStructOrErr<MachO::load_command>(Obj, Ptr)) {
  201   if (sizeof(MachO::load_command) > Obj.getHeader().sizeofcmds)
  212   if (L.Ptr + L.C.cmdsize + sizeof(MachO::load_command) >
lib/ObjectYAML/MachOEmitter.cpp
  229                sizeof(MachO::load_command));
  230       BytesWritten = sizeof(MachO::load_command);
  232           writeLoadCommandData<MachO::load_command>(LC, OS, Obj.IsLittleEndian);
lib/ObjectYAML/MachOYAML.cpp
  404     IO &IO, MachO::load_command &LoadCommand) {}
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
   62     const load_command *lc = reinterpret_cast<const load_command*>(p);
   63     load_command lcCopy;
   64     const load_command *slc = lc;
   66       memcpy(&lcCopy, lc, sizeof(load_command));
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
  837                                       sizeof(llvm::MachO::load_command))) {
  838       llvm::MachO::load_command load_cmd;
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 1267         load_command lc;
 1531 void ObjectFileMachO::ProcessSegmentCommand(const load_command &load_cmd_,
 1804 void ObjectFileMachO::ProcessDysymtabCommand(const load_command &load_cmd,
 1825   struct load_command load_cmd;
 2069     struct load_command lc;
 4893   struct load_command load_cmd;
 5024     struct load_command load_cmd;
 5160     struct load_command load_cmd;
 5346       load_command lc;
 5414       load_command lc;
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
  200   void ProcessDysymtabCommand(const llvm::MachO::load_command &load_cmd,
  202   void ProcessSegmentCommand(const llvm::MachO::load_command &load_cmd,
tools/llvm-objcopy/MachO/MachOReader.cpp
  162              sizeof(MachO::load_command));
  167               sizeof(MachO::load_command),
  168           LoadCmd.C.cmdsize - sizeof(MachO::load_command));
tools/llvm-objcopy/MachO/MachOWriter.cpp
  194       memcpy(Begin, &MLC.load_command_data, sizeof(MachO::load_command));
  195       Begin += sizeof(MachO::load_command);
tools/obj2yaml/macho2yaml.cpp
  124   return LoadCmd.Ptr + sizeof(StructType);
  223              sizeof(MachO::load_command));
  226       EndPtr = processLoadCommandData<MachO::load_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; };