/external/llvm/tools/llvm-dwarfdump/fuzzer/ |
D | llvm-dwarfdump-fuzzer.cpp | 27 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in LLVMFuzzerTestOneInput() local 29 if (auto E = ObjOrErr.takeError()) { in LLVMFuzzerTestOneInput() 33 ObjectFile &Obj = *ObjOrErr.get(); in LLVMFuzzerTestOneInput()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/fuzzer/ |
D | llvm-dwarfdump-fuzzer.cpp | 27 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in LLVMFuzzerTestOneInput() local 29 if (auto E = ObjOrErr.takeError()) { in LLVMFuzzerTestOneInput() 33 ObjectFile &Obj = *ObjOrErr.get(); in LLVMFuzzerTestOneInput()
|
/external/llvm/lib/DebugInfo/Symbolize/ |
D | Symbolize.cpp | 298 auto ObjOrErr = getOrCreateObject(Path, ArchName); in getOrCreateObjectPair() local 299 if (!ObjOrErr) { in getOrCreateObjectPair() 302 return ObjOrErr.takeError(); in getOrCreateObjectPair() 305 ObjectFile *Obj = ObjOrErr.get(); in getOrCreateObjectPair() 346 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in getOrCreateObject() local 348 if (!ObjOrErr) { in getOrCreateObject() 351 return ObjOrErr.takeError(); in getOrCreateObject() 353 ObjectFile *Res = ObjOrErr->get(); in getOrCreateObject() 355 std::move(ObjOrErr.get()))); in getOrCreateObject()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/Symbolize/ |
D | Symbolize.cpp | 306 auto ObjOrErr = getOrCreateObject(Path, ArchName); in getOrCreateObjectPair() local 307 if (!ObjOrErr) { in getOrCreateObjectPair() 310 return ObjOrErr.takeError(); in getOrCreateObjectPair() 313 ObjectFile *Obj = ObjOrErr.get(); in getOrCreateObjectPair() 354 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in getOrCreateObject() local 356 if (!ObjOrErr) { in getOrCreateObject() 359 return ObjOrErr.takeError(); in getOrCreateObject() 361 ObjectFile *Res = ObjOrErr->get(); in getOrCreateObject() 363 std::move(ObjOrErr.get()))); in getOrCreateObject()
|
/external/llvm/lib/Object/ |
D | ObjectFile.cpp | 119 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in createObjectFile() local 121 if (!ObjOrErr) in createObjectFile() 122 ObjOrErr.takeError(); in createObjectFile() 123 std::unique_ptr<ObjectFile> Obj = std::move(ObjOrErr.get()); in createObjectFile()
|
D | ModuleSummaryIndexObjectFile.cpp | 117 ErrorOr<std::unique_ptr<object::ModuleSummaryIndexObjectFile>> ObjOrErr = in getModuleSummaryIndexForFile() local 120 EC = ObjOrErr.getError(); in getModuleSummaryIndexForFile() 124 object::ModuleSummaryIndexObjectFile &Obj = **ObjOrErr; in getModuleSummaryIndexForFile()
|
D | Object.cpp | 64 Expected<std::unique_ptr<ObjectFile>> ObjOrErr( in LLVMCreateObjectFile() local 67 if (!ObjOrErr) { in LLVMCreateObjectFile() 69 consumeError(ObjOrErr.takeError()); in LLVMCreateObjectFile() 73 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile()
|
D | ArchiveWriter.cpp | 250 Expected<std::unique_ptr<object::SymbolicFile>> ObjOrErr = in writeSymbolTable() local 253 if (!ObjOrErr) { in writeSymbolTable() 255 consumeError(ObjOrErr.takeError()); in writeSymbolTable() 258 object::SymbolicFile &Obj = *ObjOrErr.get(); in writeSymbolTable()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | Object.cpp | 64 Expected<std::unique_ptr<ObjectFile>> ObjOrErr( in LLVMCreateObjectFile() local 67 if (!ObjOrErr) { in LLVMCreateObjectFile() 69 consumeError(ObjOrErr.takeError()); in LLVMCreateObjectFile() 73 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile()
|
D | ObjectFile.cpp | 160 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in createObjectFile() local 162 if (Error Err = ObjOrErr.takeError()) in createObjectFile() 164 std::unique_ptr<ObjectFile> Obj = std::move(ObjOrErr.get()); in createObjectFile()
|
D | ArchiveWriter.cpp | 377 Expected<std::unique_ptr<object::SymbolicFile>> ObjOrErr = in getSymbols() local 380 if (!ObjOrErr) { in getSymbols() 382 consumeError(ObjOrErr.takeError()); in getSymbols() 387 object::SymbolicFile &Obj = *ObjOrErr.get(); in getSymbols()
|
/external/llvm/tools/llvm-readobj/ |
D | llvm-readobj.cpp | 463 Expected<std::unique_ptr<MachOObjectFile>> ObjOrErr = Obj.getAsObjectFile(); in dumpMachOUniversalBinary() local 464 if (ObjOrErr) in dumpMachOUniversalBinary() 465 dumpObject(&*ObjOrErr.get()); in dumpMachOUniversalBinary() 466 else if (auto E = isNotObjectErrorInvalidFileType(ObjOrErr.takeError())) { in dumpMachOUniversalBinary() 469 logAllUnhandledErrors(ObjOrErr.takeError(), OS, ""); in dumpMachOUniversalBinary()
|
/external/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 1152 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in dumpSymbolNamesFromFile() local 1158 if (ObjOrErr) { in dumpSymbolNamesFromFile() 1159 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile() 1171 ObjOrErr.takeError())) { in dumpSymbolNamesFromFile() 1236 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in dumpSymbolNamesFromFile() local 1239 if (ObjOrErr) { in dumpSymbolNamesFromFile() 1240 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile() 1243 ObjOrErr.takeError())) { in dumpSymbolNamesFromFile() 1289 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in dumpSymbolNamesFromFile() local 1294 if (ObjOrErr) { in dumpSymbolNamesFromFile() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/gold/ |
D | gold-plugin.cpp | 512 Expected<std::unique_ptr<InputFile>> ObjOrErr = InputFile::create(BufferRef); in claim_file_hook() local 513 if (!ObjOrErr) { in claim_file_hook() 514 handleAllErrors(ObjOrErr.takeError(), [&](const ErrorInfoBase &EI) { in claim_file_hook() 528 std::unique_ptr<InputFile> Obj = std::move(*ObjOrErr); in claim_file_hook() 694 Expected<std::unique_ptr<InputFile>> ObjOrErr = InputFile::create(BufferRef); in addModule() local 696 if (!ObjOrErr) in addModule() 698 toString(ObjOrErr.takeError()).c_str()); in addModule() 701 std::unique_ptr<InputFile> Input = std::move(ObjOrErr.get()); in addModule()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/ |
D | llvm-readobj.cpp | 544 Expected<std::unique_ptr<MachOObjectFile>> ObjOrErr = Obj.getAsObjectFile(); in dumpMachOUniversalBinary() local 545 if (ObjOrErr) in dumpMachOUniversalBinary() 546 dumpObject(&*ObjOrErr.get(), Writer); in dumpMachOUniversalBinary() 547 else if (auto E = isNotObjectErrorInvalidFileType(ObjOrErr.takeError())) { in dumpMachOUniversalBinary() 548 reportError(UBinary->getFileName(), ObjOrErr.takeError()); in dumpMachOUniversalBinary()
|
/external/llvm/tools/gold/ |
D | gold-plugin.cpp | 489 ErrorOr<std::unique_ptr<object::IRObjectFile>> ObjOrErr = in claim_file_hook() local 491 std::error_code EC = ObjOrErr.getError(); in claim_file_hook() 503 std::unique_ptr<object::IRObjectFile> Obj = std::move(*ObjOrErr); in claim_file_hook() 675 ErrorOr<std::unique_ptr<object::ModuleSummaryIndexObjectFile>> ObjOrErr = in getModuleSummaryIndexForFile() local 679 if (std::error_code EC = ObjOrErr.getError()) in getModuleSummaryIndexForFile() 684 object::ModuleSummaryIndexObjectFile &Obj = **ObjOrErr; in getModuleSummaryIndexForFile() 695 ErrorOr<std::unique_ptr<object::IRObjectFile>> ObjOrErr = in getModuleForFile() local 698 if (std::error_code EC = ObjOrErr.getError()) in getModuleForFile() 702 object::IRObjectFile &Obj = **ObjOrErr; in getModuleForFile()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 1806 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in dumpSymbolNamesFromFile() local 1812 if (ObjOrErr) { in dumpSymbolNamesFromFile() 1813 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile() 1825 ObjOrErr.takeError())) { in dumpSymbolNamesFromFile() 1890 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in dumpSymbolNamesFromFile() local 1893 if (ObjOrErr) { in dumpSymbolNamesFromFile() 1894 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile() 1897 ObjOrErr.takeError())) { in dumpSymbolNamesFromFile() 1943 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in dumpSymbolNamesFromFile() local 1948 if (ObjOrErr) { in dumpSymbolNamesFromFile() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 712 ErrorOr<std::unique_ptr<object::ModuleSummaryIndexObjectFile>> ObjOrErr = in getModuleSummaryIndexForFile() local 715 if (std::error_code EC = ObjOrErr.getError()) { in getModuleSummaryIndexForFile() 719 return (*ObjOrErr)->takeIndex(); in getModuleSummaryIndexForFile()
|
/external/llvm/lib/LTO/ |
D | ThinLTOCodeGenerator.cpp | 493 ErrorOr<std::unique_ptr<object::ModuleSummaryIndexObjectFile>> ObjOrErr = in linkCombinedIndex() local 496 if (std::error_code EC = ObjOrErr.getError()) { in linkCombinedIndex() 502 auto Index = (*ObjOrErr)->takeIndex(); in linkCombinedIndex()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldELF.cpp | 154 Expected<std::unique_ptr<DyldELFObject<ELFT>>> ObjOrErr = in createRTDyldELFObject() local 156 if (Error E = ObjOrErr.takeError()) in createRTDyldELFObject() 159 std::unique_ptr<DyldELFObject<ELFT>> Obj = std::move(*ObjOrErr); in createRTDyldELFObject()
|
/external/llvm/tools/llvm-objdump/ |
D | MachODump.cpp | 1607 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in ParseInputMachO() local 1612 if (ObjOrErr) { in ParseInputMachO() 1613 ObjectFile &O = *ObjOrErr.get(); in ParseInputMachO() 1617 ObjOrErr.takeError())) { in ParseInputMachO() 1668 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in ParseInputMachO() local 1671 if (ObjOrErr) { in ParseInputMachO() 1672 ObjectFile &O = *ObjOrErr.get(); in ParseInputMachO() 1676 ObjOrErr.takeError())) { in ParseInputMachO() 1715 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in ParseInputMachO() local 1719 if (ObjOrErr) { in ParseInputMachO() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/ |
D | MachODump.cpp | 2008 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = in ParseInputMachO() local 2013 if (ObjOrErr) { in ParseInputMachO() 2014 ObjectFile &O = *ObjOrErr.get(); in ParseInputMachO() 2018 ObjOrErr.takeError())) { in ParseInputMachO() 2070 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in ParseInputMachO() local 2073 if (ObjOrErr) { in ParseInputMachO() 2074 ObjectFile &O = *ObjOrErr.get(); in ParseInputMachO() 2078 ObjOrErr.takeError())) { in ParseInputMachO() 2118 Expected<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in ParseInputMachO() local 2122 if (ObjOrErr) { in ParseInputMachO() [all …]
|