Lines Matching refs:Bin
878 loadBinaryFormat(std::unique_ptr<Binary> Bin, StringRef Arch) { in loadBinaryFormat() argument
880 if (auto *Universal = dyn_cast<MachOUniversalBinary>(Bin.get())) { in loadBinaryFormat()
887 } else if (isa<ObjectFile>(Bin.get())) { in loadBinaryFormat()
889 OF.reset(cast<ObjectFile>(Bin.release())); in loadBinaryFormat()
954 static bool isArchSpecifierInvalidOrMissing(Binary *Bin, StringRef Arch) { in isArchSpecifierInvalidOrMissing() argument
957 if (auto *Universal = dyn_cast<MachOUniversalBinary>(Bin)) { in isArchSpecifierInvalidOrMissing()
984 std::unique_ptr<Binary> Bin = std::move(BinOrErr.get()); in create() local
986 if (isArchSpecifierInvalidOrMissing(Bin.get(), Arch)) in create()
992 if (auto *Universal = dyn_cast<MachOUniversalBinary>(Bin.get())) { in create()
1012 if (auto *Ar = dyn_cast<Archive>(Bin.get())) { in create()
1039 auto ReaderOrErr = loadBinaryFormat(std::move(Bin), Arch); in create()