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

References

include/llvm/BinaryFormat/MachO.h
 1280 inline void swapStruct(linkedit_data_command &C) {
include/llvm/Object/MachO.h
  494   MachO::linkedit_data_command
  554   MachO::linkedit_data_command getDataInCodeLoadCommand() const;
  555   MachO::linkedit_data_command getLinkOptHintsLoadCommand() const;
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/MC/MachObjectWriter.cpp
  414   W.write<uint32_t>(sizeof(MachO::linkedit_data_command));
  786     LoadCommandsSize += sizeof(MachO::linkedit_data_command);
  794     LoadCommandsSize += sizeof(MachO::linkedit_data_command);
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));
  594   if (Load.C.cmdsize < sizeof(MachO::linkedit_data_command))
  600     getStructOrErr<MachO::linkedit_data_command>(Obj, Load.Ptr);
  603   MachO::linkedit_data_command LinkData = LinkDataOrError.get();
  604   if (LinkData.cmdsize != sizeof(MachO::linkedit_data_command))
 2764   MachO::linkedit_data_command DicLC = getDataInCodeLoadCommand();
 2774   MachO::linkedit_data_command DicLC = getDataInCodeLoadCommand();
 4282 MachO::linkedit_data_command
 4284   return getStruct<MachO::linkedit_data_command>(*this, L.Ptr);
 4502 MachO::linkedit_data_command
 4505     return getStruct<MachO::linkedit_data_command>(*this, DataInCodeLoadCmd);
 4508   MachO::linkedit_data_command Cmd;
 4510   Cmd.cmdsize = sizeof(MachO::linkedit_data_command);
 4516 MachO::linkedit_data_command
 4519     return getStruct<MachO::linkedit_data_command>(*this, LinkOptHintsLoadCmd);
 4523   MachO::linkedit_data_command Cmd;
 4525   Cmd.cmdsize = sizeof(MachO::linkedit_data_command);
lib/ObjectYAML/MachOYAML.cpp
  388     IO &IO, MachO::linkedit_data_command &LoadCommand) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  451       const linkedit_data_command *ldc =
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  277       _endOfLoadCommands += sizeof(linkedit_data_command);
  281       _endOfLoadCommands += sizeof(linkedit_data_command);
  453     size += sizeof(linkedit_data_command);
  460     size += sizeof(linkedit_data_command);
  801       linkedit_data_command* dl = reinterpret_cast<linkedit_data_command*>(lc);
  803       dl->cmdsize  = sizeof(linkedit_data_command);
  808       lc += sizeof(linkedit_data_command);
  813       linkedit_data_command* dl = reinterpret_cast<linkedit_data_command*>(lc);
  815       dl->cmdsize  = sizeof(linkedit_data_command);
  820       lc += sizeof(linkedit_data_command);
  994       linkedit_data_command* dl = reinterpret_cast<linkedit_data_command*>(lc);
  996       dl->cmdsize  = sizeof(linkedit_data_command);
 1001       lc += sizeof(linkedit_data_command);
 1006       linkedit_data_command* dl = reinterpret_cast<linkedit_data_command*>(lc);
 1008       dl->cmdsize  = sizeof(linkedit_data_command);
 1013       lc += sizeof(linkedit_data_command);
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 2054   struct linkedit_data_command function_starts_load_command = {0, 0, 0, 0};
tools/llvm-nm/llvm-nm.cpp
 1654           MachO::linkedit_data_command LLC =
tools/llvm-objcopy/MachO/MachOReader.cpp
  238   const MachO::linkedit_data_command &LDC =
  249   const MachO::linkedit_data_command &LDC =
tools/llvm-objcopy/MachO/MachOWriter.cpp
   93     const MachO::linkedit_data_command &LinkEditDataCommand =
  103     const MachO::linkedit_data_command &LinkEditDataCommand =
  382   const MachO::linkedit_data_command &LinkEditDataCommand =
  394   const MachO::linkedit_data_command &LinkEditDataCommand =
  449     const MachO::linkedit_data_command &LinkEditDataCommand =
  459     const MachO::linkedit_data_command &LinkEditDataCommand =
tools/llvm-objdump/MachODump.cpp
  383       MachO::linkedit_data_command LLC =
 1117   MachO::linkedit_data_command DIC = O->getDataInCodeLoadCommand();
 1159   MachO::linkedit_data_command LohLC = O->getLinkOptHintsLoadCommand();
10027 static void PrintLinkEditDataCommand(MachO::linkedit_data_command ld,
10044   if (ld.cmdsize != sizeof(struct MachO::linkedit_data_command))
10185       MachO::linkedit_data_command Ld =
tools/llvm-readobj/MachODumper.cpp
  726       MachO::linkedit_data_command LLC = Obj->getLinkeditDataLoadCommand(Load);
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; };