Searched refs:ChildOrErr (Results 1 – 8 of 8) sorted by relevance
532 Expected<std::unique_ptr<Binary>> ChildOrErr = C.getAsBinary(); in printFileSectionSizes() local533 if (!ChildOrErr) { in printFileSectionSizes()534 if (auto E = isNotObjectErrorInvalidFileType(ChildOrErr.takeError())) in printFileSectionSizes()538 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in printFileSectionSizes()601 Expected<std::unique_ptr<Binary>> ChildOrErr = C.getAsBinary(); in printFileSectionSizes() local602 if (!ChildOrErr) { in printFileSectionSizes()604 ChildOrErr.takeError())) in printFileSectionSizes()610 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) { in printFileSectionSizes()690 Expected<std::unique_ptr<Binary>> ChildOrErr = C.getAsBinary(); in printFileSectionSizes() local691 if (!ChildOrErr) { in printFileSectionSizes()[all …]
1115 Expected<std::unique_ptr<Binary>> ChildOrErr = C.getAsBinary(&Context); in dumpSymbolNamesFromFile() local1116 if (!ChildOrErr) { in dumpSymbolNamesFromFile()1117 if (auto E = isNotObjectErrorInvalidFileType(ChildOrErr.takeError())) in dumpSymbolNamesFromFile()1121 if (SymbolicFile *O = dyn_cast<SymbolicFile>(&*ChildOrErr.get())) { in dumpSymbolNamesFromFile()1180 Expected<std::unique_ptr<Binary>> ChildOrErr = in dumpSymbolNamesFromFile() local1182 if (!ChildOrErr) { in dumpSymbolNamesFromFile()1184 ChildOrErr.takeError())) { in dumpSymbolNamesFromFile()1191 dyn_cast<SymbolicFile>(&*ChildOrErr.get())) { in dumpSymbolNamesFromFile()1251 Expected<std::unique_ptr<Binary>> ChildOrErr = in dumpSymbolNamesFromFile() local1253 if (!ChildOrErr) { in dumpSymbolNamesFromFile()[all …]
440 Expected<std::unique_ptr<Binary>> ChildOrErr = Child.getAsBinary(); in dumpArchive() local441 if (!ChildOrErr) { in dumpArchive()442 if (auto E = isNotObjectErrorInvalidFileType(ChildOrErr.takeError())) { in dumpArchive()445 logAllUnhandledErrors(ChildOrErr.takeError(), OS, ""); in dumpArchive()451 if (ObjectFile *Obj = dyn_cast<ObjectFile>(&*ChildOrErr.get())) in dumpArchive()
134 if (auto ChildOrErr = C.getNext()) variable135 C = *ChildOrErr;139 *E = errorCodeToError(ChildOrErr.getError());
495 Expected<std::unique_ptr<Binary>> ChildOrErr = ArcC.getAsBinary(); in dumpArchive() local496 if (!ChildOrErr) { in dumpArchive()498 if (auto E = isNotObjectErrorInvalidFileType(ChildOrErr.takeError())) { in dumpArchive()505 ChildOrErr.takeError(); in dumpArchive()509 if (ObjectFile *Obj = dyn_cast<ObjectFile>(&*ChildOrErr.get())) in dumpArchive()
427 Expected<std::unique_ptr<object::Binary>> ChildOrErr = C.getAsBinary(); in visitObjectFiles() local428 FailIfError(errorToErrorCode(ChildOrErr.takeError())); in visitObjectFiles()429 if (auto *O = dyn_cast<object::ObjectFile>(&*ChildOrErr.get())) in visitObjectFiles()
1707 Expected<std::unique_ptr<Binary>> ChildOrErr = C.getAsBinary(); in DumpArchive() local1708 if (!ChildOrErr) { in DumpArchive()1709 if (auto E = isNotObjectErrorInvalidFileType(ChildOrErr.takeError())) in DumpArchive()1713 if (ObjectFile *o = dyn_cast<ObjectFile>(&*ChildOrErr.get())) in DumpArchive()
1575 Expected<std::unique_ptr<Binary>> ChildOrErr = C.getAsBinary(); in ParseInputMachO() local1576 if (!ChildOrErr) { in ParseInputMachO()1577 if (auto E = isNotObjectErrorInvalidFileType(ChildOrErr.takeError())) in ParseInputMachO()1581 if (MachOObjectFile *O = dyn_cast<MachOObjectFile>(&*ChildOrErr.get())) { in ParseInputMachO()1632 Expected<std::unique_ptr<Binary>> ChildOrErr = C.getAsBinary(); in ParseInputMachO() local1633 if (!ChildOrErr) { in ParseInputMachO()1634 if (auto E = isNotObjectErrorInvalidFileType(ChildOrErr.takeError())) in ParseInputMachO()1639 dyn_cast<MachOObjectFile>(&*ChildOrErr.get())) in ParseInputMachO()1687 Expected<std::unique_ptr<Binary>> ChildOrErr = C.getAsBinary(); in ParseInputMachO() local1688 if (!ChildOrErr) { in ParseInputMachO()[all …]