|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/BinaryFormat/MachO.h 1059 inline void swapStruct(segment_command_64 &seg) {
include/llvm/Object/MachO.h 498 MachO::segment_command_64
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 185 is64Bit() ? sizeof(MachO::segment_command_64):
770 sizeof(MachO::segment_command_64) + NumSections * sizeof(MachO::section_64):
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));
99 unsigned SegmentLoadSize = Is64 ? sizeof(MachO::segment_command_64) :
278 const unsigned SegmentLoadSize = sizeof(Segment);
282 if (auto SegOrErr = getStructOrErr<Segment>(Obj, Load.Ptr)) {
283 Segment S = SegOrErr.get();
1389 if ((Err = parseSegmentLoadCommand<MachO::segment_command_64,
4292 MachO::segment_command_64
4294 return getStruct<MachO::segment_command_64>(*this, L.Ptr);
lib/ObjectYAML/MachOEmitter.cpp 130 size_t writeLoadCommandData<MachO::segment_command_64>(
lib/ObjectYAML/MachOYAML.cpp 211 void mapLoadCommandData<MachO::segment_command_64>(
486 IO &IO, MachO::segment_command_64 &LoadCommand) {
tools/dsymutil/MachOUtils.cpp 121 struct MachO::segment_command_64 adaptFrom32bits(MachO::segment_command Seg) {
122 MachO::segment_command_64 Seg64;
142 MachO::segment_command_64 Segment;
226 const MachO::segment_command_64 &Seg,
241 const object::MachOObjectFile::LoadCommandInfo &LCI, SegmentTy Segment,
326 return sizeof(MachO::segment_command_64) +
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp 284 const segment_command_64 *seg =
288 (lc + sizeof(segment_command_64));
289 const unsigned lcSize = sizeof(segment_command_64)
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp 156 typedef llvm::MachO::segment_command_64 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 1319 void ObjectFileMachO::SanitizeSegmentCommand(segment_command_64 &seg_cmd,
1363 static uint32_t GetSegmentPermissions(const segment_command_64 &seg_cmd) {
1535 segment_command_64 load_cmd;
6052 std::vector<segment_command_64> segment_load_commands;
6077 uint32_t segment_size = sizeof(segment_command_64);
6082 segment_command_64 segment = {
6167 segment_load_commands.size() * sizeof(struct segment_command_64);
6199 for (auto &segment : segment_load_commands) {
6213 for (const auto &segment : segment_load_commands) {
6257 for (const auto &segment : segment_load_commands) {
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h 205 void SanitizeSegmentCommand(llvm::MachO::segment_command_64 &seg_cmd,
221 std::vector<llvm::MachO::segment_command_64> m_mach_segments;
tools/llvm-nm/llvm-nm.cpp 1294 MachO::segment_command_64 Seg = MachO->getSegment64LoadCommand(Command);
tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp 29 Size += sizeof(MachO::segment_command_64) +
191 sizeof(MachO::segment_command_64) +
253 MLC->segment_command_64_data.cmdsize = sizeof(MachO::segment_command_64);
tools/llvm-objcopy/MachO/MachOReader.cpp 72 reinterpret_cast<const SectionType *>(LoadCmd.Ptr + sizeof(SegmentType));
127 extractSections<MachO::section_64, MachO::segment_command_64>(
tools/llvm-objcopy/MachO/MachOWriter.cpp 167 sizeof(MachO::segment_command_64));
168 Begin += sizeof(MachO::segment_command_64);
tools/llvm-objdump/MachODump.cpp 395 MachO::segment_command_64 SLC = MachOObj->getSegment64LoadCommand(Command);
737 MachO::segment_command_64 Seg = O->getSegment64LoadCommand(Load);
1073 const MachO::segment_command_64 Seg = O->getSegment64LoadCommand(Load);
3018 MachO::segment_command_64 Seg = info->O->getSegment64LoadCommand(Load);
3074 MachO::segment_command_64 Seg = info->O->getSegment64LoadCommand(Load);
3225 MachO::segment_command_64 Seg = info->O->getSegment64LoadCommand(Load);
8550 expected_cmdsize += sizeof(struct MachO::segment_command_64);
10082 MachO::segment_command_64 SLC_64 = Obj->getSegment64LoadCommand(Command);
10249 MachO::segment_command_64 Seg = Obj->getSegment64LoadCommand(Command);
tools/llvm-readobj/MachODumper.cpp 378 MachO::segment_command_64 SC = Obj->getSegment64LoadCommand(L);
tools/llvm-size/llvm-size.cpp 224 MachO::segment_command_64 Seg = MachO->getSegment64LoadCommand(Load);
293 MachO::segment_command_64 Seg = MachO->getSegment64LoadCommand(Load);
tools/obj2yaml/macho2yaml.cpp 106 reinterpret_cast<const SectionType *>(LoadCmd.Ptr + sizeof(SegmentType));
136 const char *MachODumper::processLoadCommandData<MachO::segment_command_64>(
139 return extractSections<MachO::section_64, MachO::segment_command_64>(
tools/sancov/sancov.cpp 612 MachO::segment_command_64 Seg = O.getSegment64LoadCommand(Load);
usr/include/c++/7.4.0/bits/alloc_traits.h 387 using allocator_type = allocator<_Tp>;
389 using value_type = _Tp;
392 using pointer = _Tp*;
395 using const_pointer = const _Tp*;
474 construct(allocator_type& __a, _Up* __p, _Args&&... __args)
474 construct(allocator_type& __a, _Up* __p, _Args&&... __args)
486 destroy(allocator_type& __a, _Up* __p)
usr/include/c++/7.4.0/bits/allocator.h 108 class allocator: public __allocator_base<_Tp>
113 typedef _Tp* pointer;
114 typedef const _Tp* const_pointer;
115 typedef _Tp& reference;
116 typedef const _Tp& const_reference;
117 typedef _Tp value_type;
137 allocator(const allocator<_Tp1>&) throw() { }
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
104 : public __and_<__not_<is_nothrow_move_constructible<_Tp>>,
105 is_copy_constructible<_Tp>>::type { };
usr/include/c++/7.4.0/bits/stl_algobase.h 356 static _Tp*
357 __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result)
357 __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result)
357 __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result)
361 is_move_assignable<_Tp>,
362 is_copy_assignable<_Tp>>;
368 __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
usr/include/c++/7.4.0/bits/stl_construct.h 204 allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_iterator.h 1224 __make_move_if_noexcept_iterator(_Tp* __i)
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h 181 typedef _Tp value_type;
183 typedef _Tp* pointer;
184 typedef _Tp& reference;
usr/include/c++/7.4.0/bits/stl_uninitialized.h 288 _ForwardIterator __result, allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_vector.h 77 rebind<_Tp>::other _Tp_alloc_type;
216 class vector : protected _Vector_base<_Tp, _Alloc>
227 typedef _Vector_base<_Tp, _Alloc> _Base;
232 typedef _Tp value_type;
919 _Tp*
923 const _Tp*
1483 _M_realloc_insert(iterator __position, _Args&&... __args);
usr/include/c++/7.4.0/ext/alloc_traits.h 117 { typedef typename _Base_type::template rebind_alloc<_Tp> other; };
usr/include/c++/7.4.0/ext/new_allocator.h 63 typedef _Tp* pointer;
64 typedef const _Tp* const_pointer;
65 typedef _Tp& reference;
66 typedef const _Tp& const_reference;
67 typedef _Tp value_type;
111 return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
130 { return size_t(-1) / sizeof(_Tp); }
135 construct(_Up* __p, _Args&&... __args)
135 construct(_Up* __p, _Args&&... __args)
136 { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
140 destroy(_Up* __p) { __p->~_Up(); }
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
567 : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_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
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
631 : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::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;
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
798 typedef decltype(__test<_Tp>(0)) type;
811 remove_all_extents<_Tp>::type>::type
825 : public __is_destructible_safe<_Tp>::type
984 typedef decltype(__test<_Tp, _Arg>(0)) type;
989 : public __and_<is_destructible<_Tp>,
990 __is_direct_constructible_impl<_Tp, _Arg>>
1072 __is_direct_constructible_ref_cast<_Tp, _Arg>,
1073 __is_direct_constructible_new_safe<_Tp, _Arg>
1079 : public __is_direct_constructible_new<_Tp, _Arg>::type
1119 : public __is_direct_constructible<_Tp, _Arg>
1130 : public __is_constructible_impl<_Tp, _Args...>::type
1215 : public __and_<is_constructible<_Tp, _Args...>,
1216 __is_nt_constructible_impl<_Tp, _Args...>>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1252 : public __is_nothrow_move_constructible_impl<_Tp>
1304 : public is_assignable<_Tp&, _Tp&&>
1304 : public is_assignable<_Tp&, _Tp&&>
1310 : public __is_move_assignable_impl<_Tp>
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>
1955 { typedef _Tp type; };
2171 { typedef _Iffalse type; };