Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/Object/
DArchiveTest.cpp40 Expected<std::unique_ptr<Archive>> AOrErr = Archive::create(Source); in createChild() local
41 if (!AOrErr) in createChild()
42 return AOrErr.takeError(); in createChild()
43 A = std::move(*AOrErr); in createChild()
/external/llvm/tools/llvm-size/
Dllvm-size.cpp594 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in printFileSectionSizes() local
596 std::unique_ptr<Archive> &UA = *AOrErr; in printFileSectionSizes()
638 consumeError(AOrErr.takeError()); in printFileSectionSizes()
683 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in printFileSectionSizes() local
685 std::unique_ptr<Archive> &UA = *AOrErr; in printFileSectionSizes()
720 consumeError(AOrErr.takeError()); in printFileSectionSizes()
759 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in printFileSectionSizes() local
761 std::unique_ptr<Archive> &UA = *AOrErr; in printFileSectionSizes()
796 consumeError(AOrErr.takeError()); in printFileSectionSizes()
/external/llvm-project/llvm/tools/llvm-size/
Dllvm-size.cpp632 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in printFileSectionSizes() local
634 std::unique_ptr<Archive> &UA = *AOrErr; in printFileSectionSizes()
676 consumeError(AOrErr.takeError()); in printFileSectionSizes()
721 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in printFileSectionSizes() local
723 std::unique_ptr<Archive> &UA = *AOrErr; in printFileSectionSizes()
758 consumeError(AOrErr.takeError()); in printFileSectionSizes()
798 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in printFileSectionSizes() local
800 std::unique_ptr<Archive> &UA = *AOrErr; in printFileSectionSizes()
835 consumeError(AOrErr.takeError()); in printFileSectionSizes()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp1175 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in dumpSymbolNamesFromFile() local
1177 std::unique_ptr<Archive> &A = *AOrErr; in dumpSymbolNamesFromFile()
1212 consumeError(AOrErr.takeError()); in dumpSymbolNamesFromFile()
1246 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in dumpSymbolNamesFromFile() local
1248 std::unique_ptr<Archive> &A = *AOrErr; in dumpSymbolNamesFromFile()
1273 consumeError(AOrErr.takeError()); in dumpSymbolNamesFromFile()
1313 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in dumpSymbolNamesFromFile() local
1315 std::unique_ptr<Archive> &A = *AOrErr; in dumpSymbolNamesFromFile()
1349 consumeError(AOrErr.takeError()); in dumpSymbolNamesFromFile()
/external/llvm-project/llvm/tools/llvm-nm/
Dllvm-nm.cpp1932 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in dumpSymbolNamesFromFile() local
1934 std::unique_ptr<Archive> &A = *AOrErr; in dumpSymbolNamesFromFile()
1969 consumeError(AOrErr.takeError()); in dumpSymbolNamesFromFile()
2003 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in dumpSymbolNamesFromFile() local
2005 std::unique_ptr<Archive> &A = *AOrErr; in dumpSymbolNamesFromFile()
2030 consumeError(AOrErr.takeError()); in dumpSymbolNamesFromFile()
2068 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in dumpSymbolNamesFromFile() local
2070 std::unique_ptr<Archive> &A = *AOrErr; in dumpSymbolNamesFromFile()
2104 consumeError(AOrErr.takeError()); in dumpSymbolNamesFromFile()
/external/llvm/tools/llvm-readobj/
Dllvm-readobj.cpp473 else if (Expected<std::unique_ptr<Archive>> AOrErr = Obj.getAsArchive()) in dumpMachOUniversalBinary() local
474 dumpArchive(&*AOrErr.get()); in dumpMachOUniversalBinary()
/external/llvm-project/llvm/tools/llvm-readobj/
Dllvm-readobj.cpp633 else if (Expected<std::unique_ptr<Archive>> AOrErr = Obj.getAsArchive()) in dumpMachOUniversalBinary() local
634 dumpArchive(&*AOrErr.get(), Writer); in dumpMachOUniversalBinary()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp1621 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in ParseInputMachO() local
1623 std::unique_ptr<Archive> &A = *AOrErr; in ParseInputMachO()
1645 consumeError(AOrErr.takeError()); in ParseInputMachO()
1679 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in ParseInputMachO() local
1681 std::unique_ptr<Archive> &A = *AOrErr; in ParseInputMachO()
1700 consumeError(AOrErr.takeError()); in ParseInputMachO()
1727 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in ParseInputMachO() local
1729 std::unique_ptr<Archive> &A = *AOrErr; in ParseInputMachO()
1754 consumeError(AOrErr.takeError()); in ParseInputMachO()
/external/llvm-project/llvm/tools/llvm-objdump/
DMachODump.cpp2411 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in parseInputMachO() local
2413 std::unique_ptr<Archive> &A = *AOrErr; in parseInputMachO()
2440 consumeError(AOrErr.takeError()); in parseInputMachO()
2475 } else if (Expected<std::unique_ptr<Archive>> AOrErr = in parseInputMachO() local
2477 std::unique_ptr<Archive> &A = *AOrErr; in parseInputMachO()
2500 consumeError(AOrErr.takeError()); in parseInputMachO()
2526 } else if (Expected<std::unique_ptr<Archive>> AOrErr = I->getAsArchive()) { in parseInputMachO() local
2527 std::unique_ptr<Archive> &A = *AOrErr; in parseInputMachO()
2556 consumeError(AOrErr.takeError()); in parseInputMachO()