LLVM: include/llvm/DebugInfo/PDB/GenericError.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_GENERICERROR_H

10#define LLVM_DEBUGINFO_PDB_GENERICERROR_H

11

14

15namespace llvm {

16namespace pdb {

17

26}

27}

28

29namespace std {

30template <>

31struct is_error_code_enum<llvm::pdb::pdb_error_code> : std::true_type {};

32}

33

34namespace llvm {

35namespace pdb {

37

41

42

49}

50}

51#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...

PDBError(const Twine &S)

Definition GenericError.h:46

static LLVM_ABI char ID

Definition GenericError.h:47

std::error_code make_error_code(dia_error_code E)

LLVM_ABI const std::error_category & PDBErrCategory()

pdb_error_code

Definition GenericError.h:18

@ dia_sdk_not_present

Definition GenericError.h:20

@ dia_failed_loading

Definition GenericError.h:21

@ invalid_utf8_path

Definition GenericError.h:19

@ signature_out_of_date

Definition GenericError.h:22

@ no_matching_pch

Definition GenericError.h:23

This is an optimization pass for GlobalISel generic memory operations.

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