LLVM: include/llvm/DebugInfo/MSF/MSFError.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9#ifndef LLVM_DEBUGINFO_MSF_MSFERROR_H

10#define LLVM_DEBUGINFO_MSF_MSFERROR_H

11

14

15namespace llvm {

16namespace msf {

30}

31}

32

33namespace std {

34template <>

35struct is_error_code_enum<llvm::msf::msf_error_code> : std::true_type {};

36}

37

38namespace llvm {

39namespace msf {

41

45

46

48public:

51

60 return false;

66 return true;

67 }

69 }

70

72};

73}

74}

75

76#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)

std::error_code convertToErrorCode() const override

Convert this error to a std::error_code.

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

bool isPageOverflow() const

Definition MSFError.h:52

static LLVM_ABI char ID

Definition MSFError.h:71

MSFError(const Twine &S)

Definition MSFError.h:50

#define llvm_unreachable(msg)

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

LLVM_ABI const std::error_category & MSFErrCategory()

msf_error_code

Definition MSFError.h:17

@ size_overflow_16384

Definition MSFError.h:26

@ insufficient_buffer

Definition MSFError.h:19

@ stream_directory_overflow

Definition MSFError.h:28

@ block_in_use

Definition MSFError.h:23

@ no_stream

Definition MSFError.h:21

@ invalid_format

Definition MSFError.h:22

@ size_overflow_4096

Definition MSFError.h:24

@ size_overflow_8192

Definition MSFError.h:25

@ size_overflow_32768

Definition MSFError.h:27

@ not_writable

Definition MSFError.h:20

@ unspecified

Definition MSFError.h:18

std::error_code make_error_code(msf_error_code E)

Definition MSFError.h:42

This is an optimization pass for GlobalISel generic memory operations.

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