/external/llvm-project/llvm/tools/llvm-cvtres/ |
D | llvm-cvtres.cpp | 159 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(File); in main() local 160 if (!BinaryOrErr) in main() 161 reportError(File, errorToErrorCode(BinaryOrErr.takeError())); in main() 163 Binary &Binary = *BinaryOrErr.get().getBinary(); in main() 203 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(OutputFile); in main() local 204 if (!BinaryOrErr) in main() 205 reportError(OutputFile, errorToErrorCode(BinaryOrErr.takeError())); in main() 206 Binary &Binary = *BinaryOrErr.get().getBinary(); in main()
|
/external/llvm/tools/obj2yaml/ |
D | obj2yaml.cpp | 32 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(File); in dumpInput() local 33 if (!BinaryOrErr) in dumpInput() 34 return errorToErrorCode(BinaryOrErr.takeError()); in dumpInput() 36 Binary &Binary = *BinaryOrErr.get().getBinary(); in dumpInput()
|
/external/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
D | MachOObjcopy.cpp | 436 Expected<std::unique_ptr<Binary>> BinaryOrErr = in executeObjcopyOnMachOUniversalBinary() local 438 if (!BinaryOrErr) in executeObjcopyOnMachOUniversalBinary() 439 return BinaryOrErr.takeError(); in executeObjcopyOnMachOUniversalBinary() 440 Binaries.emplace_back(std::move(*BinaryOrErr), in executeObjcopyOnMachOUniversalBinary() 468 Expected<std::unique_ptr<Binary>> BinaryOrErr = in executeObjcopyOnMachOUniversalBinary() local 470 if (!BinaryOrErr) in executeObjcopyOnMachOUniversalBinary() 471 return BinaryOrErr.takeError(); in executeObjcopyOnMachOUniversalBinary() 472 Binaries.emplace_back(std::move(*BinaryOrErr), std::move(OutputBuffer)); in executeObjcopyOnMachOUniversalBinary()
|
/external/llvm-project/llvm/tools/llvm-objcopy/ |
D | llvm-objcopy.cpp | 304 Expected<OwningBinary<llvm::object::Binary>> BinaryOrErr = in executeObjcopy() local 306 if (!BinaryOrErr) in executeObjcopy() 307 return createFileError(Config.InputFilename, BinaryOrErr.takeError()); in executeObjcopy() 309 if (Archive *Ar = dyn_cast<Archive>(BinaryOrErr.get().getBinary())) { in executeObjcopy() 315 *BinaryOrErr.get().getBinary(), FB)) in executeObjcopy()
|
/external/llvm/tools/llvm-readobj/ |
D | llvm-readobj.cpp | 482 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(File); in dumpInput() local 483 if (!BinaryOrErr) in dumpInput() 484 reportError(File, errorToErrorCode(BinaryOrErr.takeError())); in dumpInput() 485 Binary &Binary = *BinaryOrErr.get().getBinary(); in dumpInput()
|
/external/llvm-project/llvm/tools/llvm-pdbutil/ |
D | InputFile.cpp | 266 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(Path); in open() local 267 if (!BinaryOrErr) in open() 268 return BinaryOrErr.takeError(); in open() 270 IF.CoffObject = std::move(*BinaryOrErr); in open()
|
/external/llvm-project/llvm/tools/llvm-cfi-verify/lib/ |
D | FileAnalysis.cpp | 75 Expected<object::OwningBinary<object::Binary>> BinaryOrErr = in Create() local 77 if (!BinaryOrErr) in Create() 78 return BinaryOrErr.takeError(); in Create() 81 object::OwningBinary<object::Binary> Binary = std::move(BinaryOrErr.get()); in Create()
|
/external/llvm-project/llvm/tools/llvm-readobj/ |
D | llvm-readobj.cpp | 650 Expected<OwningBinary<Binary>> BinaryOrErr = in dumpInput() local 652 if (!BinaryOrErr) in dumpInput() 653 reportError(BinaryOrErr.takeError(), File); in dumpInput() 654 Binary &Binary = *BinaryOrErr.get().getBinary(); in dumpInput() 670 CVTypes.Binaries.push_back(std::move(*BinaryOrErr)); in dumpInput()
|
/external/llvm/lib/Object/ |
D | Archive.cpp | 266 auto BinaryOrErr = createBinary(BuffOrErr.get(), Context); in getAsBinary() local 267 if (BinaryOrErr) in getAsBinary() 268 return std::move(*BinaryOrErr); in getAsBinary() 269 return BinaryOrErr.takeError(); in getAsBinary()
|
/external/llvm-project/llvm/tools/llvm-libtool-darwin/ |
D | llvm-libtool-darwin.cpp | 344 Expected<std::unique_ptr<MachOUniversalBinary>> BinaryOrErr = in addUniversalMembers() local 346 if (!BinaryOrErr) in addUniversalMembers() 347 return createFileError(FileName, BinaryOrErr.takeError()); in addUniversalMembers() 349 auto *UO = BinaryOrErr->get(); in addUniversalMembers()
|
/external/llvm-project/llvm/tools/llvm-lipo/ |
D | llvm-lipo.cpp | 322 Expected<OwningBinary<Binary>> BinaryOrErr = in readInputBinaries() local 324 if (!BinaryOrErr) in readInputBinaries() 325 reportError(IF.FileName, BinaryOrErr.takeError()); in readInputBinaries() 326 const Binary *B = BinaryOrErr->getBinary(); in readInputBinaries() 348 InputBinaries.push_back(std::move(*BinaryOrErr)); in readInputBinaries()
|
/external/llvm/tools/llvm-cxxdump/ |
D | llvm-cxxdump.cpp | 519 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(File); in dumpInput() local 520 if (!BinaryOrErr) { in dumpInput() 521 auto EC = errorToErrorCode(BinaryOrErr.takeError()); in dumpInput() 525 Binary &Binary = *BinaryOrErr.get().getBinary(); in dumpInput()
|
/external/llvm-project/llvm/tools/llvm-cxxdump/ |
D | llvm-cxxdump.cpp | 527 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(File); in dumpInput() local 528 if (!BinaryOrErr) { in dumpInput() 529 auto EC = errorToErrorCode(BinaryOrErr.takeError()); in dumpInput() 533 Binary &Binary = *BinaryOrErr.get().getBinary(); in dumpInput()
|
/external/llvm-project/clang/tools/clang-offload-bundler/ |
D | ClangOffloadBundler.cpp | 726 Expected<std::unique_ptr<Binary>> BinaryOrErr = createBinary(FirstInput); in CreateObjectFileHandler() local 730 if (errorToBool(BinaryOrErr.takeError()) || !isa<ObjectFile>(*BinaryOrErr)) in CreateObjectFileHandler() 736 std::unique_ptr<ObjectFile>(cast<ObjectFile>(BinaryOrErr->release()))); in CreateObjectFileHandler()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | Archive.cpp | 524 auto BinaryOrErr = createBinary(BuffOrErr.get(), Context); in getAsBinary() local 525 if (BinaryOrErr) in getAsBinary() 526 return std::move(*BinaryOrErr); in getAsBinary() 527 return BinaryOrErr.takeError(); in getAsBinary()
|
/external/llvm-project/llvm/lib/Object/ |
D | Archive.cpp | 520 auto BinaryOrErr = createBinary(BuffOrErr.get(), Context); in getAsBinary() local 521 if (BinaryOrErr) in getAsBinary() 522 return std::move(*BinaryOrErr); in getAsBinary() 523 return BinaryOrErr.takeError(); in getAsBinary()
|
/external/llvm/tools/llvm-size/ |
D | llvm-size.cpp | 521 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(file); in printFileSectionSizes() local 522 if (!BinaryOrErr) { in printFileSectionSizes() 523 error(errorToErrorCode(BinaryOrErr.takeError())); in printFileSectionSizes() 526 Binary &Bin = *BinaryOrErr.get().getBinary(); in printFileSectionSizes()
|
/external/llvm-project/llvm/tools/llvm-size/ |
D | llvm-size.cpp | 559 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(file); in printFileSectionSizes() local 560 if (!BinaryOrErr) { in printFileSectionSizes() 561 error(BinaryOrErr.takeError(), file); in printFileSectionSizes() 564 Binary &Bin = *BinaryOrErr.get().getBinary(); in printFileSectionSizes()
|
/external/llvm-project/llvm/tools/sancov/ |
D | sancov.cpp | 797 Expected<object::OwningBinary<object::Binary>> BinaryOrErr = in visitObjectFiles() local 799 if (!BinaryOrErr) in visitObjectFiles() 800 failIfError(BinaryOrErr); in visitObjectFiles() 802 object::Binary &Binary = *BinaryOrErr.get().getBinary(); in visitObjectFiles()
|
/external/llvm/tools/sancov/ |
D | sancov.cc | 440 Expected<object::OwningBinary<object::Binary>> BinaryOrErr = in visitObjectFiles() local 442 if (!BinaryOrErr) in visitObjectFiles() 443 FailIfError(errorToErrorCode(BinaryOrErr.takeError())); in visitObjectFiles() 445 object::Binary &Binary = *BinaryOrErr.get().getBinary(); in visitObjectFiles()
|
/external/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 1084 Expected<std::unique_ptr<Binary>> BinaryOrErr = createBinary( in dumpSymbolNamesFromFile() local 1086 if (!BinaryOrErr) { in dumpSymbolNamesFromFile() 1087 error(errorToErrorCode(BinaryOrErr.takeError()), Filename); in dumpSymbolNamesFromFile() 1090 Binary &Bin = *BinaryOrErr.get(); in dumpSymbolNamesFromFile()
|
/external/llvm/tools/llvm-objdump/ |
D | llvm-objdump.cpp | 1734 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(file); in DumpInput() local 1735 if (!BinaryOrErr) in DumpInput() 1736 report_error(file, BinaryOrErr.takeError()); in DumpInput() 1737 Binary &Binary = *BinaryOrErr.get().getBinary(); in DumpInput()
|
D | MachODump.cpp | 1564 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(Filename); in ParseInputMachO() local 1565 if (!BinaryOrErr) in ParseInputMachO() 1566 report_error(Filename, BinaryOrErr.takeError()); in ParseInputMachO() 1567 Binary &Bin = *BinaryOrErr.get().getBinary(); in ParseInputMachO()
|
/external/llvm-project/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 1831 Expected<std::unique_ptr<Binary>> BinaryOrErr = in dumpSymbolNamesFromFile() local 1833 if (!BinaryOrErr) { in dumpSymbolNamesFromFile() 1834 error(BinaryOrErr.takeError(), Filename); in dumpSymbolNamesFromFile() 1837 Binary &Bin = *BinaryOrErr.get(); in dumpSymbolNamesFromFile()
|
/external/llvm-project/llvm/tools/llvm-objdump/ |
D | MachODump.cpp | 2325 Expected<OwningBinary<Binary>> BinaryOrErr = createBinary(Filename); in parseInputMachO() local 2326 if (!BinaryOrErr) { in parseInputMachO() 2327 if (Error E = isNotObjectErrorInvalidFileType(BinaryOrErr.takeError())) in parseInputMachO() 2333 Binary &Bin = *BinaryOrErr.get().getBinary(); in parseInputMachO() 7390 Expected<std::unique_ptr<Binary>> BinaryOrErr = in DisassembleMachO() local 7392 if (!BinaryOrErr) { in DisassembleMachO() 7393 reportError(BinaryOrErr.takeError(), DSYMPath); in DisassembleMachO() 7398 DSYMBinary = std::move(BinaryOrErr.get()); in DisassembleMachO()
|