29#ifndef LLVM_SUPPORT_ERRC_H
30#define LLVM_SUPPORT_ERRC_H
32#include <system_error>
54 int(std::errc::inappropriate_io_control_operation),
75 int(std::errc::resource_unavailable_try_again),
83 return std::error_code(
static_cast<int>(
E), std::generic_category());
88template <>
struct is_error_code_enum<
llvm::errc> : std::true_type {};
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
This is an optimization pass for GlobalISel generic memory operations.
std::error_code make_error_code(BitcodeError E)
@ no_such_file_or_directory
@ too_many_files_open_in_system
@ inappropriate_io_control_operation
@ executable_format_error
@ no_such_device_or_address
@ operation_not_permitted
@ device_or_resource_busy
@ resource_unavailable_try_again
@ resource_deadlock_would_occur
Implement std::hash so that hash_code can be used in STL containers.