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

References

include/llvm/BinaryFormat/MachO.h
 1050 inline void swapStruct(symtab_command &lc) {
include/llvm/Object/MachO.h
  552   MachO::symtab_command getSymtabLoadCommand() 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
  269   W.write<uint32_t>(sizeof(MachO::symtab_command));
  802     LoadCommandsSize += (sizeof(MachO::symtab_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));
  402   if (Load.C.cmdsize < sizeof(MachO::symtab_command))
  407   auto SymtabOrErr = getStructOrErr<MachO::symtab_command>(Obj, Load.Ptr);
  410   MachO::symtab_command Symtab = SymtabOrErr.get();
  411   if (Symtab.cmdsize != sizeof(MachO::symtab_command))
 1620     MachO::symtab_command Symtab =
 1621       getStruct<MachO::symtab_command>(*this, SymtabLoadCmd);
 1689   MachO::symtab_command S = getSymtabLoadCommand();
 2134   MachO::symtab_command S = getSymtabLoadCommand();
 2478   MachO::symtab_command Symtab = getSymtabLoadCommand();
 2487   MachO::symtab_command Symtab = getSymtabLoadCommand();
 2501   MachO::symtab_command Symtab = getSymtabLoadCommand();
 2513   MachO::symtab_command Symtab = getSymtabLoadCommand();
 4458 MachO::symtab_command MachOObjectFile::getSymtabLoadCommand() const {
 4460     return getStruct<MachO::symtab_command>(*this, SymtabLoadCmd);
 4463   MachO::symtab_command Cmd;
 4465   Cmd.cmdsize = sizeof(MachO::symtab_command);
 4610   MachO::symtab_command S = getSymtabLoadCommand();
lib/ObjectYAML/MachOEmitter.cpp
  393   MachO::symtab_command *SymtabCmd = 0;
lib/ObjectYAML/MachOYAML.cpp
  530     IO &IO, MachO::symtab_command &LoadCommand) {
tools/dsymutil/MachOUtils.cpp
  368   MachO::symtab_command SymtabCmd = InputBinary.getSymtabLoadCommand();
  407     LoadCommandSize += sizeof(MachO::symtab_command);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  368       const symtab_command *st = reinterpret_cast<const symtab_command*>(lc);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  270                                + sizeof(symtab_command);
  407   size += sizeof(symtab_command);
  783     symtab_command* st = reinterpret_cast<symtab_command*>(lc);
  785     st->cmdsize = sizeof(symtab_command);
  793     lc += sizeof(symtab_command);
  870     symtab_command* st = reinterpret_cast<symtab_command*>(lc);
  872     st->cmdsize = sizeof(symtab_command);
  880     lc += sizeof(symtab_command);
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 2053   struct symtab_command symtab_load_command = {0, 0, 0, 0, 0, 0};
tools/llvm-objcopy/MachO/MachOWriter.cpp
   41     const MachO::symtab_command &SymTabCommand =
  276   const MachO::symtab_command &SymTabCommand =
  287   const MachO::symtab_command &SymTabCommand =
  409     const MachO::symtab_command &SymTabCommand =
tools/llvm-objdump/MachODump.cpp
  721       MachO::symtab_command Symtab = O->getSymtabLoadCommand();
  882   const MachO::symtab_command Symtab = O->getSymtabLoadCommand();
 3071   MachO::symtab_command Symtab = info->O->getSymtabLoadCommand();
 8764 static void PrintSymtabLoadCommand(MachO::symtab_command st, bool Is64Bit,
 8768   if (st.cmdsize != sizeof(struct MachO::symtab_command))
10096       MachO::symtab_command Symtab = Obj->getSymtabLoadCommand();
10100       MachO::symtab_command Symtab = Obj->getSymtabLoadCommand();
tools/obj2yaml/macho2yaml.cpp
  124   return LoadCmd.Ptr + sizeof(StructType);
tools/sancov/sancov.cpp
  608   MachO::symtab_command Symtab = O.getSymtabLoadCommand();
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; };