Home
last modified time | relevance | path

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

/external/llvm/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp81 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in DumpInput() local
83 if (std::error_code EC = ObjOrErr.getError()) { in DumpInput()
87 ObjectFile &Obj = *ObjOrErr.get(); in DumpInput()
/external/llvm/lib/Object/
DObjectFile.cpp97 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in createObjectFile() local
99 if (std::error_code EC = ObjOrErr.getError()) in createObjectFile()
101 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()
/external/llvm/tools/llvm-readobj/
Dllvm-readobj.cpp327 ErrorOr<std::unique_ptr<MachOObjectFile>> ObjOrErr = Obj.getAsObjectFile(); in dumpMachOUniversalBinary() local
328 if (ObjOrErr) in dumpMachOUniversalBinary()
329 dumpObject(&*ObjOrErr.get()); in dumpMachOUniversalBinary()
333 reportError(UBinary->getFileName(), ObjOrErr.getError().message()); in dumpMachOUniversalBinary()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp1058 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in dumpSymbolNamesFromFile() local
1064 if (ObjOrErr) { in dumpSymbolNamesFromFile()
1065 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile()
1124 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in dumpSymbolNamesFromFile() local
1127 if (ObjOrErr) { in dumpSymbolNamesFromFile()
1128 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile()
1162 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in dumpSymbolNamesFromFile() local
1167 if (ObjOrErr) { in dumpSymbolNamesFromFile()
1168 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile()
/external/llvm/tools/gold/
Dgold-plugin.cpp345 ErrorOr<std::unique_ptr<object::IRObjectFile>> ObjOrErr = in claim_file_hook() local
347 std::error_code EC = ObjOrErr.getError(); in claim_file_hook()
359 std::unique_ptr<object::IRObjectFile> Obj = std::move(*ObjOrErr); in claim_file_hook()
595 ErrorOr<std::unique_ptr<object::IRObjectFile>> ObjOrErr = in getModuleForFile() local
598 if (std::error_code EC = ObjOrErr.getError()) in getModuleForFile()
602 object::IRObjectFile &Obj = **ObjOrErr; in getModuleForFile()
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp703 ErrorOr<std::unique_ptr<object::SymbolicFile>> ObjOrErr = in writeSymbolTable() local
706 if (!ObjOrErr) in writeSymbolTable()
708 object::SymbolicFile &Obj = *ObjOrErr.get(); in writeSymbolTable()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp1591 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in ParseInputMachO() local
1596 if (ObjOrErr) { in ParseInputMachO()
1597 ObjectFile &O = *ObjOrErr.get(); in ParseInputMachO()
1638 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in ParseInputMachO() local
1641 if (ObjOrErr) { in ParseInputMachO()
1642 ObjectFile &O = *ObjOrErr.get(); in ParseInputMachO()
1672 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in ParseInputMachO() local
1676 if (ObjOrErr) { in ParseInputMachO()
1677 ObjectFile &Obj = *ObjOrErr.get(); in ParseInputMachO()