Searched refs:BinaryOrErr (Results 1 – 9 of 9) sorted by relevance
32 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(File); in dumpInput() local33 if (!BinaryOrErr) in dumpInput()34 return errorToErrorCode(BinaryOrErr.takeError()); in dumpInput()36 Binary &Binary = *BinaryOrErr.get().getBinary(); in dumpInput()
482 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(File); in dumpInput() local483 if (!BinaryOrErr) in dumpInput()484 reportError(File, errorToErrorCode(BinaryOrErr.takeError())); in dumpInput()485 Binary &Binary = *BinaryOrErr.get().getBinary(); in dumpInput()
266 auto BinaryOrErr = createBinary(BuffOrErr.get(), Context); in getAsBinary() local267 if (BinaryOrErr) in getAsBinary()268 return std::move(*BinaryOrErr); in getAsBinary()269 return BinaryOrErr.takeError(); in getAsBinary()
519 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(File); in dumpInput() local520 if (!BinaryOrErr) { in dumpInput()521 auto EC = errorToErrorCode(BinaryOrErr.takeError()); in dumpInput()525 Binary &Binary = *BinaryOrErr.get().getBinary(); in dumpInput()
521 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(file); in printFileSectionSizes() local522 if (!BinaryOrErr) { in printFileSectionSizes()523 error(errorToErrorCode(BinaryOrErr.takeError())); in printFileSectionSizes()526 Binary &Bin = *BinaryOrErr.get().getBinary(); in printFileSectionSizes()
440 Expected<object::OwningBinary<object::Binary>> BinaryOrErr = in visitObjectFiles() local442 if (!BinaryOrErr) in visitObjectFiles()443 FailIfError(errorToErrorCode(BinaryOrErr.takeError())); in visitObjectFiles()445 object::Binary &Binary = *BinaryOrErr.get().getBinary(); in visitObjectFiles()
1084 Expected<std::unique_ptr<Binary>> BinaryOrErr = createBinary( in dumpSymbolNamesFromFile() local1086 if (!BinaryOrErr) { in dumpSymbolNamesFromFile()1087 error(errorToErrorCode(BinaryOrErr.takeError()), Filename); in dumpSymbolNamesFromFile()1090 Binary &Bin = *BinaryOrErr.get(); in dumpSymbolNamesFromFile()
1734 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(file); in DumpInput() local1735 if (!BinaryOrErr) in DumpInput()1736 report_error(file, BinaryOrErr.takeError()); in DumpInput()1737 Binary &Binary = *BinaryOrErr.get().getBinary(); in DumpInput()
1564 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(Filename); in ParseInputMachO() local1565 if (!BinaryOrErr) in ParseInputMachO()1566 report_error(Filename, BinaryOrErr.takeError()); in ParseInputMachO()1567 Binary &Bin = *BinaryOrErr.get().getBinary(); in ParseInputMachO()