LLVM: llvm::msf::MSFError Class Reference (original) (raw)

Base class for errors originating when parsing raw PDB files. More...

#include "[llvm/DebugInfo/MSF/MSFError.h](MSFError%5F8h%5Fsource.html)"

Inheritance diagram for llvm::msf::MSFError:

Public Member Functions
MSFError (const Twine &S)
bool isPageOverflow () const
Public Member Functions inherited from llvm::ErrorInfo< MSFError, StringError >
const void * dynamicClassID () const override
bool isA (const void *const ClassID) const override
Public Member Functions inherited from llvm::StringError
StringError (std::string &&S, std::error_code EC, bool PrintMsgOnly)
StringError (std::error_code EC, const Twine &S=Twine())
Prints EC + S and converts to EC.
StringError (const Twine &S, std::error_code EC)
Prints S and converts to EC.
void log (raw_ostream &OS) const override
Print an error message to an output stream.
std::error_code convertToErrorCode () const override
Convert this error to a std::error_code.
const std::string & getMessage () const
Public Member Functions inherited from llvm::ErrorInfo< StringError >
const void * dynamicClassID () const override
bool isA (const void *const ClassID) const override
Public Member Functions inherited from llvm::ErrorInfoBase
virtual ~ErrorInfoBase ()=default
virtual std::string message () const
Return the error message as a string.
template
bool isA () const
Additional Inherited Members
Static Public Member Functions inherited from llvm::ErrorInfo< MSFError, StringError >
static const void * classID ()
Static Public Member Functions inherited from llvm::ErrorInfo< StringError >
static const void * classID ()
Static Public Member Functions inherited from llvm::ErrorInfoBase
static const void * classID ()

Detailed Description

Base class for errors originating when parsing raw PDB files.

Definition at line 47 of file MSFError.h.

Constructor & Destructor Documentation

llvm::msf::MSFError::MSFError ( const Twine & S) inline

Member Function Documentation

isPageOverflow()

bool llvm::msf::MSFError::isPageOverflow ( ) const inline

Definition at line 52 of file MSFError.h.

References llvm::msf::block_in_use, llvm::StringError::convertToErrorCode(), llvm::msf::insufficient_buffer, llvm::msf::invalid_format, llvm_unreachable, llvm::msf::no_stream, llvm::msf::not_writable, llvm::msf::size_overflow_16384, llvm::msf::size_overflow_32768, llvm::msf::size_overflow_4096, llvm::msf::size_overflow_8192, llvm::msf::stream_directory_overflow, and llvm::msf::unspecified.

Member Data Documentation

ID


The documentation for this class was generated from the following files: