Home
last modified time | relevance | path

Searched refs:MachOUniversalBinary (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOUniversal.cpp42 MachOUniversalBinary::ObjectForArch::ObjectForArch( in ObjectForArch()
43 const MachOUniversalBinary *Parent, uint32_t Index) in ObjectForArch()
64 MachOUniversalBinary::ObjectForArch::getAsObjectFile() const { in getAsObjectFile()
85 MachOUniversalBinary::ObjectForArch::getAsIRObject(LLVMContext &Ctx) const { in getAsIRObject()
104 MachOUniversalBinary::ObjectForArch::getAsArchive() const { in getAsArchive()
120 void MachOUniversalBinary::anchor() { } in anchor()
122 Expected<std::unique_ptr<MachOUniversalBinary>>
123 MachOUniversalBinary::create(MemoryBufferRef Source) { in create()
125 std::unique_ptr<MachOUniversalBinary> Ret( in create()
126 new MachOUniversalBinary(Source, Err)); in create()
[all …]
H A DBinary.cpp80 return MachOUniversalBinary::create(Buffer); in createBinary()
H A DMachOUniversalWriter.cpp39 uint32_t P2MinAlignment = MachOUniversalBinary::MaxSectionAlignment; in calculateFileAlignment()
66 MachOUniversalBinary::MaxSectionAlignment))); in calculateFileAlignment()
H A DObject.cpp142 auto universal = cast<MachOUniversalBinary>(unwrap(BR)); in LLVMMachOUniversalBinaryCopyObjectForArch()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachOUniversal.h30 class MachOUniversalBinary : public Binary {
39 const MachOUniversalBinary *Parent;
47 ObjectForArch(const MachOUniversalBinary *Parent, uint32_t Index);
132 MachOUniversalBinary(MemoryBufferRef Souce, Error &Err);
133 static Expected<std::unique_ptr<MachOUniversalBinary>>
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/
H A DObjCopy.cpp64 if (auto *MachOUniversalBinary = in executeObjcopyOnBinary() local
65 dyn_cast<object::MachOUniversalBinary>(&In)) { in executeObjcopyOnBinary()
67 Config, *MachOUniversalBinary, Out); in executeObjcopyOnBinary()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjCopy/MachO/
H A DMachOObjcopy.h18 class MachOUniversalBinary; variable
38 const MultiFormatConfig &Config, const object::MachOUniversalBinary &In,
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.h23 class MachOUniversalBinary; variable
74 void parseInputMachO(object::MachOUniversalBinary *UB);
H A DMachODump.cpp2348 static void printMachOUniversalHeaders(const object::MachOUniversalBinary *UB, in printMachOUniversalHeaders()
2373 MachOUniversalBinary::ObjectForArch OFA(UB, i); in printMachOUniversalHeaders()
2378 MachOUniversalBinary::ObjectForArch other_OFA(UB, j); in printMachOUniversalHeaders()
2565 if (MachOUniversalBinary *UB = dyn_cast<MachOUniversalBinary>(&Bin)) { in parseInputMachO()
2583 void objdump::parseInputMachO(MachOUniversalBinary *UB) { in parseInputMachO()
2598 for (MachOUniversalBinary::object_iterator I = UB->begin_objects(), in parseInputMachO()
2665 for (MachOUniversalBinary::object_iterator I = UB->begin_objects(), in parseInputMachO()
2717 for (MachOUniversalBinary::object_iterator I = UB->begin_objects(), in parseInputMachO()
7199 } else if (auto *UB = dyn_cast<MachOUniversalBinary>(DSYMBinary.get())) { in getMachODSymObject()
H A Dllvm-objdump.cpp3400 else if (MachOUniversalBinary *UB = dyn_cast<MachOUniversalBinary>(&Binary)) in dumpInput()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/
H A DLVReaderHandler.cpp217 MachOUniversalBinary &Mach) { in handleMach()
218 for (const MachOUniversalBinary::ObjectForArch &ObjForArch : Mach.objects()) { in handleMach()
249 if (MachOUniversalBinary *Fat = dyn_cast<MachOUniversalBinary>(&Binary)) in handleObject()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutionUtils.h39 class MachOUniversalBinary; variable
323 getSliceRangeForArch(object::MachOUniversalBinary &UB, const Triple &TT);
/freebsd/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp580 } else if (MachOUniversalBinary *UB = in printFileSectionSizes()
581 dyn_cast<MachOUniversalBinary>(&Bin)) { in printFileSectionSizes()
588 for (MachOUniversalBinary::object_iterator I = UB->begin_objects(), in printFileSectionSizes()
680 for (MachOUniversalBinary::object_iterator I = UB->begin_objects(), in printFileSectionSizes()
756 for (MachOUniversalBinary::object_iterator I = UB->begin_objects(), in printFileSectionSizes()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp570 static void dumpMachOUniversalBinary(const MachOUniversalBinary *UBinary, in dumpMachOUniversalBinary()
572 for (const MachOUniversalBinary::ObjectForArch &Obj : UBinary->objects()) { in dumpMachOUniversalBinary()
617 else if (MachOUniversalBinary *UBinary = in dumpInput()
618 dyn_cast<MachOUniversalBinary>(Bin.get())) in dumpInput()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/
H A DLVReaderHandler.h58 object::MachOUniversalBinary &Mach);
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/BinaryReader/
H A DDylibReader.cpp381 assert(isa<MachOUniversalBinary>(&Bin) && in readFile()
383 auto *UB = cast<MachOUniversalBinary>(&Bin); in readFile()
524 if (auto *Fat = dyn_cast<MachOUniversalBinary>(BinOrErr->get())) { in accumulateSourceLocFromDSYM()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp294 if (auto *UB = dyn_cast<object::MachOUniversalBinary>(B->getBinary())) { in Load()
357 if (auto *UB = dyn_cast<object::MachOUniversalBinary>(B->get())) { in Create()
465 object::MachOUniversalBinary &UB, const Triple &TT) { in getSliceRangeForArch()
/freebsd/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp2113 MachOUniversalBinary *UB, std::vector<NMSymbol> &SymbolList, in dumpMachOUniversalBinaryMatchArchFlags()
2119 for (MachOUniversalBinary::object_iterator I = UB->begin_objects(), in dumpMachOUniversalBinaryMatchArchFlags()
2189 static bool dumpMachOUniversalBinaryMatchHost(MachOUniversalBinary *UB, in dumpMachOUniversalBinaryMatchHost()
2195 for (MachOUniversalBinary::object_iterator I = UB->begin_objects(), in dumpMachOUniversalBinaryMatchHost()
2241 static void dumpMachOUniversalBinaryArchAll(MachOUniversalBinary *UB, in dumpMachOUniversalBinaryArchAll()
2246 for (const MachOUniversalBinary::ObjectForArch &O : UB->objects()) { in dumpMachOUniversalBinaryArchAll()
2294 static void dumpMachOUniversalBinary(MachOUniversalBinary *UB, in dumpMachOUniversalBinary()
2377 else if (MachOUniversalBinary *UB = dyn_cast<MachOUniversalBinary>(&Bin)) in dumpSymbolNamesFromFile()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp560 if (MachOUniversalBinary *UB = dyn_cast_or_null<MachOUniversalBinary>(Bin)) { in getOrCreateObject()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp1081 if (auto *Universal = dyn_cast<MachOUniversalBinary>(Bin.get())) { in loadBinaryFormat()
1193 if (auto *Universal = dyn_cast<MachOUniversalBinary>(Bin)) { in isArchSpecifierInvalidOrMissing()
1235 if (auto *Universal = dyn_cast<MachOUniversalBinary>(Bin.get())) { in create()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOObjcopy.cpp486 const MultiFormatConfig &Config, const MachOUniversalBinary &In, in executeObjcopyOnMachOUniversalBinary()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp783 } else if (auto *Fat = dyn_cast<MachOUniversalBinary>(BinOrErr->get())) in handleBuffer()