1//===- BinaryStreamError.h - Error extensions for Binary Streams *- C++ -*-===//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//===----------------------------------------------------------------------===//
9#ifndef LLVM_SUPPORT_BINARYSTREAMERROR_H
10#define LLVM_SUPPORT_BINARYSTREAMERROR_H
27/// Base class for errors originating when parsing raw PDB files
48#endif // LLVM_SUPPORT_BINARYSTREAMERROR_H
std::error_code convertToErrorCode() const override
Convert this error to a std::error_code.
BinaryStreamError(stream_error_code C)
void log(raw_ostream &OS) const override
Print an error message to an output stream.
StringRef getErrorMessage() const
stream_error_code getErrorCode() const
Base class for user error types.
StringRef - Represent a constant reference to a string, i.e.
This class implements an extremely fast bulk output stream that can only output to a stream.
@ C
The default llvm calling convention, compatible with C.
This is an optimization pass for GlobalISel generic memory operations.