Home
last modified time | relevance | path

Searched refs:FatArch (Results 1 – 5 of 5) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp693 FatArchType FatArch; in constructFatArch() local
694 FatArch.cputype = Arch.cputype; in constructFatArch()
695 FatArch.cpusubtype = Arch.cpusubtype; in constructFatArch()
696 FatArch.offset = Arch.offset; in constructFatArch()
697 FatArch.size = Arch.size; in constructFatArch()
698 FatArch.align = Arch.align; in constructFatArch()
699 return FatArch; in constructFatArch()
709 swapStruct(FatArch); in writeFatArch()
717 FatArch.reserved = Arch.reserved; in writeFatArch()
719 swapStruct(FatArch); in writeFatArch()
[all …]
H A DMachOYAML.cpp133 void MappingTraits<MachOYAML::FatArch>::mapping(IO &IO, in mapping()
134 MachOYAML::FatArch &FatArch) { in mapping() argument
135 IO.mapRequired("cputype", FatArch.cputype); in mapping()
136 IO.mapRequired("cpusubtype", FatArch.cpusubtype); in mapping()
137 IO.mapRequired("offset", FatArch.offset); in mapping()
138 IO.mapRequired("size", FatArch.size); in mapping()
139 IO.mapRequired("align", FatArch.align); in mapping()
140 IO.mapOptional("reserved", FatArch.reserved, in mapping()
/openbsd/gnu/llvm/llvm/lib/Object/
H A DMachOUniversalWriter.cpp261 MachO::fat_arch FatArch; in buildFatArchList() local
262 FatArch.cputype = S.getCPUType(); in buildFatArchList()
263 FatArch.cpusubtype = S.getCPUSubType(); in buildFatArchList()
264 FatArch.offset = Offset; in buildFatArchList()
265 FatArch.size = S.getBinary()->getMemoryBufferRef().getBufferSize(); in buildFatArchList()
266 FatArch.align = S.getP2Alignment(); in buildFatArchList()
267 Offset += FatArch.size; in buildFatArchList()
268 FatArchList.push_back(FatArch); in buildFatArchList()
/openbsd/gnu/llvm/llvm/include/llvm/ObjectYAML/
H A DMachOYAML.h154 struct FatArch { struct
165 std::vector<FatArch> FatArchs; argument
180 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::MachOYAML::FatArch) in LLVM_YAML_IS_SEQUENCE_VECTOR()
202 template <> struct MappingTraits<MachOYAML::FatArch> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
203 static void mapping(IO &IO, MachOYAML::FatArch &FatArch); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/openbsd/gnu/llvm/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp687 MachOYAML::FatArch arch; in macho2yaml()