Home
last modified time | relevance | path

Searched refs:ObjOrErr (Results 1 – 11 of 11) sorted by relevance

/external/llvm/tools/llvm-dwarfdump/fuzzer/
Dllvm-dwarfdump-fuzzer.cpp27 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in LLVMFuzzerTestOneInput() local
29 if (!ObjOrErr) in LLVMFuzzerTestOneInput()
31 ObjectFile &Obj = *ObjOrErr.get(); in LLVMFuzzerTestOneInput()
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp265 auto ObjOrErr = getOrCreateObject(Path, ArchName); in getOrCreateObjectPair() local
266 if (auto EC = ObjOrErr.getError()) { in getOrCreateObjectPair()
272 ObjectFile *Obj = ObjOrErr.get(); in getOrCreateObjectPair()
316 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in getOrCreateObject() local
318 if (auto EC = ObjOrErr.getError()) { in getOrCreateObject()
323 ObjectFile *Res = ObjOrErr->get(); in getOrCreateObject()
325 std::move(ObjOrErr.get()))); in getOrCreateObject()
/external/llvm/lib/Object/
DFunctionIndexObjectFile.cpp135 ErrorOr<std::unique_ptr<object::FunctionIndexObjectFile>> ObjOrErr = in getFunctionIndexForFile() local
137 EC = ObjOrErr.getError(); in getFunctionIndexForFile()
141 object::FunctionIndexObjectFile &Obj = **ObjOrErr; in getFunctionIndexForFile()
DObjectFile.cpp109 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in createObjectFile() local
111 if (std::error_code EC = ObjOrErr.getError()) in createObjectFile()
113 std::unique_ptr<ObjectFile> Obj = std::move(ObjOrErr.get()); in createObjectFile()
DObject.cpp64 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr( in LLVMCreateObjectFile() local
67 if (!ObjOrErr) in LLVMCreateObjectFile()
70 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile()
DArchiveWriter.cpp234 ErrorOr<std::unique_ptr<object::SymbolicFile>> ObjOrErr = in writeSymbolTable() local
237 if (!ObjOrErr) in writeSymbolTable()
239 object::SymbolicFile &Obj = *ObjOrErr.get(); in writeSymbolTable()
/external/llvm/tools/gold/
Dgold-plugin.cpp411 ErrorOr<std::unique_ptr<object::IRObjectFile>> ObjOrErr = in claim_file_hook() local
413 std::error_code EC = ObjOrErr.getError(); in claim_file_hook()
425 std::unique_ptr<object::IRObjectFile> Obj = std::move(*ObjOrErr); in claim_file_hook()
583 ErrorOr<std::unique_ptr<object::FunctionIndexObjectFile>> ObjOrErr = in getFunctionIndexForFile() local
586 if (std::error_code EC = ObjOrErr.getError()) in getFunctionIndexForFile()
590 object::FunctionIndexObjectFile &Obj = **ObjOrErr; in getFunctionIndexForFile()
610 ErrorOr<std::unique_ptr<object::IRObjectFile>> ObjOrErr = in getModuleForFile() local
613 if (std::error_code EC = ObjOrErr.getError()) in getModuleForFile()
617 object::IRObjectFile &Obj = **ObjOrErr; in getModuleForFile()
/external/llvm/tools/llvm-readobj/
Dllvm-readobj.cpp402 ErrorOr<std::unique_ptr<MachOObjectFile>> ObjOrErr = Obj.getAsObjectFile(); in dumpMachOUniversalBinary() local
403 if (ObjOrErr) in dumpMachOUniversalBinary()
404 dumpObject(&*ObjOrErr.get()); in dumpMachOUniversalBinary()
408 reportError(UBinary->getFileName(), ObjOrErr.getError().message()); in dumpMachOUniversalBinary()
/external/llvm/lib/Transforms/IPO/
DFunctionImport.cpp364 ErrorOr<std::unique_ptr<object::FunctionIndexObjectFile>> ObjOrErr = in getFunctionIndexForFile() local
367 if (std::error_code EC = ObjOrErr.getError()) { in getFunctionIndexForFile()
371 return (*ObjOrErr)->takeIndex(); in getFunctionIndexForFile()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp1071 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in dumpSymbolNamesFromFile() local
1077 if (ObjOrErr) { in dumpSymbolNamesFromFile()
1078 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile()
1140 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in dumpSymbolNamesFromFile() local
1143 if (ObjOrErr) { in dumpSymbolNamesFromFile()
1144 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile()
1181 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in dumpSymbolNamesFromFile() local
1186 if (ObjOrErr) { in dumpSymbolNamesFromFile()
1187 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp1522 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in ParseInputMachO() local
1527 if (ObjOrErr) { in ParseInputMachO()
1528 ObjectFile &O = *ObjOrErr.get(); in ParseInputMachO()
1572 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in ParseInputMachO() local
1575 if (ObjOrErr) { in ParseInputMachO()
1576 ObjectFile &O = *ObjOrErr.get(); in ParseInputMachO()
1609 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in ParseInputMachO() local
1613 if (ObjOrErr) { in ParseInputMachO()
1614 ObjectFile &Obj = *ObjOrErr.get(); in ParseInputMachO()