13 const char *
name()
const noexcept
override {
return "llvm.pdb.dia"; }
14 std::string
message(
int Condition)
const override {
15 switch (static_cast<dia_error_code>(Condition)) {
17 return "Failed to connect to DIA at runtime. Verify that Visual Studio " 18 "is properly installed, or that msdiaXX.dll is in your PATH.";
20 return "Unable to load PDB. The file has an unrecognized format.";
22 return "The parameter is incorrect.";
24 return "Unable to load the PDB or EXE, because it is already loaded.";
26 return "The PDB file and the EXE file do not match.";
28 return "An unknown error has occurred.";
This class represents lattice values for constants.
static llvm::ManagedStatic< DIAErrorCategory > DIACategory
const std::error_category & DIAErrCategory()
static ManagedStatic< _object_error_category > error_category
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
std::string message(int Condition) const override
const char * name() const noexcept override
ManagedStatic - This transparently changes the behavior of global statics to be lazily constructed on...