LLVM: lib/DebugInfo/PDB/DIA/DIAError.cpp Source File (original) (raw)

Go to the documentation of this file.

3

4using namespace llvm;

6

7

8

9

11public:

12 const char *name() const noexcept override { return "llvm.pdb.dia"; }

13 std::string message(int Condition) const override {

16 return "Failed to connect to DIA at runtime. Verify that Visual Studio "

17 "is properly installed, or that msdiaXX.dll is in your PATH.";

19 return "Unable to load PDB. The file has an unrecognized format.";

21 return "The parameter is incorrect.";

23 return "Unable to load the PDB or EXE, because it is already loaded.";

25 return "The PDB file and the EXE file do not match.";

27 return "An unknown error has occurred.";

28 }

30 }

31};

32

35 return DIACategory;

36}

37

Definition DIAError.cpp:10

std::string message(int Condition) const override

Definition DIAError.cpp:13

const char * name() const noexcept override

Definition DIAError.cpp:12

#define llvm_unreachable(msg)

Marks that the current location is not supposed to be reachable.

const std::error_category & DIAErrCategory()

Definition DIAError.cpp:33

This is an optimization pass for GlobalISel generic memory operations.