Home
last modified time | relevance | path

Searched refs:ErrorOrBuffer (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
DPDB.cpp27 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrorOrBuffer = in loadDataForPDB() local
30 if (!ErrorOrBuffer) in loadDataForPDB()
31 return errorCodeToError(ErrorOrBuffer.getError()); in loadDataForPDB()
33 return NativeSession::createFromPdb(std::move(*ErrorOrBuffer), Session); in loadDataForPDB()
/external/llvm/lib/DebugInfo/PDB/Raw/
DRawSession.cpp51 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrorOrBuffer = in createFromPdb() local
54 if (!ErrorOrBuffer) in createFromPdb()
57 std::unique_ptr<MemoryBuffer> Buffer = std::move(*ErrorOrBuffer); in createFromPdb()
/external/llvm-project/lldb/source/Plugins/ObjectFile/PDB/
DObjectFilePDB.cpp175 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> ErrorOrBuffer = in loadPDBFile() local
178 if (!ErrorOrBuffer) in loadPDBFile()
180 std::unique_ptr<llvm::MemoryBuffer> Buffer = std::move(*ErrorOrBuffer); in loadPDBFile()
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DNativeSession.cpp85 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrorOrBuffer = in loadPdbFile() local
88 if (!ErrorOrBuffer) in loadPdbFile()
89 return make_error<RawError>(ErrorOrBuffer.getError()); in loadPdbFile()
90 std::unique_ptr<llvm::MemoryBuffer> Buffer = std::move(*ErrorOrBuffer); in loadPdbFile()
/external/llvm/tools/llvm-pdbdump/
Dllvm-pdbdump.cpp300 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrorOrBuffer = in yamlToPdb() local
304 if (ErrorOrBuffer.getError()) { in yamlToPdb()
308 std::unique_ptr<MemoryBuffer> &Buffer = ErrorOrBuffer.get(); in yamlToPdb()
/external/llvm-project/llvm/tools/llvm-pdbutil/
Dllvm-pdbutil.cpp750 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrorOrBuffer = in yamlToPdb() local
754 if (ErrorOrBuffer.getError()) { in yamlToPdb()
755 ExitOnErr(createFileError(Path, errorCodeToError(ErrorOrBuffer.getError()))); in yamlToPdb()
758 std::unique_ptr<MemoryBuffer> &Buffer = ErrorOrBuffer.get(); in yamlToPdb()