13 const char *
name()
const noexcept
override {
return "llvm.pdb.raw"; }
14 std::string
message(
int Condition)
const override {
15 switch (static_cast<raw_error_code>(Condition)) {
17 return "An unknown error has occurred.";
19 return "The feature is unsupported by the implementation.";
21 return "The record is in an unexpected format.";
23 return "The PDB file is corrupt.";
25 return "The buffer is not large enough to read the requested number of " 28 return "The specified stream could not be loaded.";
30 return "The specified item does not exist in the array.";
32 return "The specified block address is not valid.";
34 return "The entry already exists.";
36 return "The entry does not exist.";
38 return "The PDB does not support writing.";
40 return "The stream was longer than expected.";
42 return "The Type record has an invalid hash value.";
This class represents lattice values for constants.
const char * name() const noexcept override
static llvm::ManagedStatic< RawErrorCategory > RawCategory
std::string message(int Condition) const override
const std::error_category & RawErrCategory()
static ManagedStatic< _object_error_category > error_category
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
ManagedStatic - This transparently changes the behavior of global statics to be lazily constructed on...