LLVM: include/llvm/DebugInfo/PDB/Native/RawError.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_NATIVE_RAWERROR_H

10#define LLVM_DEBUGINFO_PDB_NATIVE_RAWERROR_H

11

14

15namespace llvm {

16namespace pdb {

32}

33}

34

35namespace std {

36template <>

37struct is_error_code_enum<llvm::pdb::raw_error_code> : std::true_type {};

38}

39

40namespace llvm {

41namespace pdb {

43

47

48

55}

56}

57#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 LLVM_ABI char ID

Definition RawError.h:53

RawError(const Twine &S)

Definition RawError.h:52

std::error_code make_error_code(dia_error_code E)

raw_error_code

Definition RawError.h:17

@ stream_too_long

Definition RawError.h:29

@ insufficient_buffer

Definition RawError.h:22

@ feature_unsupported

Definition RawError.h:19

@ invalid_block_address

Definition RawError.h:25

@ duplicate_entry

Definition RawError.h:26

@ no_stream

Definition RawError.h:23

@ corrupt_file

Definition RawError.h:21

@ invalid_format

Definition RawError.h:20

@ invalid_tpi_hash

Definition RawError.h:30

@ not_writable

Definition RawError.h:28

@ index_out_of_bounds

Definition RawError.h:24

@ no_entry

Definition RawError.h:27

LLVM_ABI const std::error_category & RawErrCategory()

This is an optimization pass for GlobalISel generic memory operations.

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