Home
last modified time | relevance | path

Searched refs:BinaryOrErr (Results 1 – 9 of 9) sorted by relevance

/external/llvm/tools/obj2yaml/
Dobj2yaml.cpp32 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/tools/llvm-readobj/
Dllvm-readobj.cpp482 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/lib/Object/
DArchive.cpp266 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/tools/llvm-cxxdump/
Dllvm-cxxdump.cpp519 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/tools/llvm-size/
Dllvm-size.cpp521 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/tools/sancov/
Dsancov.cc440 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/
Dllvm-nm.cpp1084 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/
Dllvm-objdump.cpp1734 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()
DMachODump.cpp1564 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()