LLVM: include/llvm/DebugInfo/PDB/DIA/DIAError.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9#ifndef LLVM_DEBUGINFO_PDB_DIA_DIAERROR_H

10#define LLVM_DEBUGINFO_PDB_DIA_DIAERROR_H

11

14

15namespace llvm {

16namespace pdb {

25}

26}

27

28namespace std {

29template <>

30struct is_error_code_enum<llvm::pdb::dia_error_code> : std::true_type {};

31}

32

33namespace llvm {

34namespace pdb {

36

40

41

43public:

46 static char ID;

47};

48}

49}

50#endif

static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")

Base class for user error types.

StringError(std::string &&S, std::error_code EC, bool PrintMsgOnly)

Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...

static char ID

Definition DIAError.h:46

DIAError(const Twine &S)

Definition DIAError.h:45

std::error_code make_error_code(dia_error_code E)

Definition DIAError.h:37

const std::error_category & DIAErrCategory()

dia_error_code

Definition DIAError.h:17

@ debug_info_mismatch

Definition DIAError.h:23

@ could_not_create_impl

Definition DIAError.h:19

@ invalid_file_format

Definition DIAError.h:20

@ already_loaded

Definition DIAError.h:22

@ invalid_parameter

Definition DIAError.h:21

@ unspecified

Definition DIAError.h:18

This is an optimization pass for GlobalISel generic memory operations.

Implement std::hash so that hash_code can be used in STL containers.