LLVM: include/llvm/DebugInfo/CodeView/CodeViewError.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9#ifndef LLVM_DEBUGINFO_CODEVIEW_CODEVIEWERROR_H

10#define LLVM_DEBUGINFO_CODEVIEW_CODEVIEWERROR_H

11

14

15namespace llvm {

25}

26}

27

28namespace std {

29template <>

30struct is_error_code_enum<llvm::codeview::cv_error_code> : std::true_type {};

31}

32

33namespace llvm {

34namespace codeview {

36

40

41

49

50}

51}

52

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

CodeViewError(const Twine &S)

Definition CodeViewError.h:46

static LLVM_ABI char ID

Definition CodeViewError.h:47

cv_error_code

Definition CodeViewError.h:17

@ insufficient_buffer

Definition CodeViewError.h:19

@ unknown_member_record

Definition CodeViewError.h:23

@ corrupt_record

Definition CodeViewError.h:21

@ no_records

Definition CodeViewError.h:22

@ operation_unsupported

Definition CodeViewError.h:20

@ unspecified

Definition CodeViewError.h:18

std::error_code make_error_code(cv_error_code E)

Definition CodeViewError.h:37

LLVM_ABI const std::error_category & CVErrorCategory()

This is an optimization pass for GlobalISel generic memory operations.

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