|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/BinaryFormat/MachO.h 1124 inline void swapStruct(dylib_command &d) {
include/llvm/Object/MachO.h 510 MachO::dylib_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));
728 if (Load.C.cmdsize < sizeof(MachO::dylib_command))
731 auto CommandOrErr = getStructOrErr<MachO::dylib_command>(Obj, Load.Ptr);
734 MachO::dylib_command D = CommandOrErr.get();
735 if (D.dylib.name < sizeof(MachO::dylib_command))
2441 getStructOrErr<MachO::dylib_command>(*this, Libraries[i]);
2444 MachO::dylib_command D = CommandOrErr.get();
4322 MachO::dylib_command
4324 return getStruct<MachO::dylib_command>(*this, L.Ptr);
lib/ObjectYAML/MachOEmitter.cpp 155 size_t writeLoadCommandData<MachO::dylib_command>(MachOYAML::LoadCommand &LC,
lib/ObjectYAML/MachOYAML.cpp 217 void mapLoadCommandData<MachO::dylib_command>(
315 IO &IO, MachO::dylib_command &LoadCommand) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp 444 const dylib_command *dl = reinterpret_cast<const dylib_command*>(lc);
462 const dylib_command *dl = reinterpret_cast<const dylib_command*>(lc);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp 398 size += sizeof(dylib_command) + pointerAlign(_file.installName.size() + 1);
441 size += sizeof(dylib_command) + pointerAlign(dep.path.size()+1);
834 dylib_command *dc = reinterpret_cast<dylib_command*>(lc);
836 uint32_t size = sizeof(dylib_command) + pointerAlign(path.size() + 1);
839 dc->dylib.name = sizeof(dylib_command); // offset
846 memcpy(lc + sizeof(dylib_command), path.begin(), path.size());
847 lc[sizeof(dylib_command) + path.size()] = '\0';
962 dylib_command* dc = reinterpret_cast<dylib_command*>(lc);
963 uint32_t size = sizeof(dylib_command) + pointerAlign(dep.path.size()+1);
966 dc->dylib.name = sizeof(dylib_command); // offset
973 memcpy(lc+sizeof(dylib_command), dep.path.begin(), dep.path.size());
974 lc[sizeof(dylib_command)+dep.path.size()] = '\0';
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp 5605 struct dylib_command load_cmd;
tools/llvm-objdump/MachODump.cpp 1225 MachO::dylib_command dl = O->getDylibIDLoadCommand(Load);
9982 static void PrintDylibCommand(MachO::dylib_command dl, const char *Ptr) {
9998 if (dl.cmdsize < sizeof(struct MachO::dylib_command))
10177 MachO::dylib_command Dl = Obj->getDylibIDLoadCommand(Command);
tools/llvm-readobj/MachODumper.cpp 708 MachO::dylib_command Dl = Obj->getDylibIDLoadCommand(Command);
tools/obj2yaml/macho2yaml.cpp 147 auto Start = LoadCmd.Ptr + sizeof(StructType);
148 auto MaxSize = LoadCmd.C.cmdsize - sizeof(StructType);
155 const char *MachODumper::processLoadCommandData<MachO::dylib_command>(
158 return readString<MachO::dylib_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; };