|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/BinaryFormat/MachO.h 1072 inline void swapStruct(segment_command &seg) {
include/llvm/Object/MachO.h 496 MachO::segment_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/MC/MachObjectWriter.cpp 186 sizeof(MachO::segment_command);
771 sizeof(MachO::segment_command) + NumSections * sizeof(MachO::section);
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));
100 sizeof(MachO::segment_command);
278 const unsigned SegmentLoadSize = sizeof(Segment);
282 if (auto SegOrErr = getStructOrErr<Segment>(Obj, Load.Ptr)) {
283 Segment S = SegOrErr.get();
1395 if ((Err = parseSegmentLoadCommand<MachO::segment_command,
4287 MachO::segment_command
4289 return getStruct<MachO::segment_command>(*this, L.Ptr);
lib/ObjectYAML/MachOEmitter.cpp 114 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC,
lib/ObjectYAML/MachOYAML.cpp 205 void mapLoadCommandData<MachO::segment_command>(
473 IO &IO, MachO::segment_command &LoadCommand) {
tools/dsymutil/MachOUtils.cpp 121 struct MachO::segment_command_64 adaptFrom32bits(MachO::segment_command Seg) {
219 const MachO::segment_command &Seg,
241 const object::MachOObjectFile::LoadCommandInfo &LCI, SegmentTy Segment,
329 return sizeof(MachO::segment_command) + NumSections * sizeof(MachO::section);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp 327 const segment_command *seg =
331 (lc + sizeof(segment_command));
332 const unsigned lcSize = sizeof(segment_command)
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp 163 typedef llvm::MachO::segment_command command;
263 (_is64 ? sizeof(segment_command_64) : sizeof(segment_command));
387 (_is64 ? sizeof(segment_command_64) : sizeof(segment_command));
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp 6080 segment_size = sizeof(segment_command);
6170 segment_load_commands.size() * sizeof(struct segment_command);
tools/llvm-nm/llvm-nm.cpp 1288 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Command);
tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp 25 Size += sizeof(MachO::segment_command) +
182 sizeof(MachO::segment_command) +
247 MLC->segment_command_data.cmdsize = sizeof(MachO::segment_command);
tools/llvm-objcopy/MachO/MachOReader.cpp 72 reinterpret_cast<const SectionType *>(LoadCmd.Ptr + sizeof(SegmentType));
122 LC.Sections = extractSections<MachO::section, MachO::segment_command>(
tools/llvm-objcopy/MachO/MachOWriter.cpp 157 memcpy(Begin, &MLC.segment_command_data, sizeof(MachO::segment_command));
158 Begin += sizeof(MachO::segment_command);
tools/llvm-objdump/MachODump.cpp 388 MachO::segment_command SLC = MachOObj->getSegmentLoadCommand(Command);
765 MachO::segment_command Seg = O->getSegmentLoadCommand(Load);
1093 const MachO::segment_command Seg = O->getSegmentLoadCommand(Load);
3039 MachO::segment_command Seg = info->O->getSegmentLoadCommand(Load);
3105 MachO::segment_command Seg = info->O->getSegmentLoadCommand(Load);
8545 expected_cmdsize += sizeof(struct MachO::segment_command);
10069 MachO::segment_command SLC = Obj->getSegmentLoadCommand(Command);
10243 MachO::segment_command Seg = Obj->getSegmentLoadCommand(Command);
tools/llvm-readobj/MachODumper.cpp 364 MachO::segment_command SC = Obj->getSegmentLoadCommand(L);
tools/llvm-size/llvm-size.cpp 250 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load);
319 MachO::segment_command Seg = MachO->getSegmentLoadCommand(Load);
tools/obj2yaml/macho2yaml.cpp 106 reinterpret_cast<const SectionType *>(LoadCmd.Ptr + sizeof(SegmentType));
128 const char *MachODumper::processLoadCommandData<MachO::segment_command>(
131 return extractSections<MachO::section, MachO::segment_command>(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; };