22 const char *
name()
const noexcept
override {
return "llvm.pdb"; }
23 std::string
message(
int Condition)
const override {
24 switch (static_cast<pdb_error_code>(Condition)) {
26 return "An unknown error has occurred.";
28 return "LLVM was not compiled with support for DIA. This usually means " 29 "that you are not using MSVC, or your Visual Studio " 30 "installation is corrupt.";
32 return "DIA is only supported when using MSVC.";
34 return "The PDB file path is an invalid UTF8 sequence.";
36 return "The signature does not match; the file(s) might be out of date.";
38 return "The path to this file must be provided on the command-line.";
This class represents lattice values for constants.
const char * name() const noexcept override
std::string message(int Condition) const override
const std::error_category & PDBErrCategory()
static ManagedStatic< _object_error_category > error_category
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
static llvm::ManagedStatic< PDBErrorCategory > PDBCategory
ManagedStatic - This transparently changes the behavior of global statics to be lazily constructed on...