
Go to the source code of this file.
Defines | |
| #define | ER_FATAL 1 |
| #define | ER_ERROR 2 |
| #define | ER_INFO 3 |
| #define | ER_VERBOSE 4 |
| #define | OPT_ERROR(type, errno) |
| #define | OPT_ERROR_FMT(type, errmsg_list) |
| #define | OPT_ASSERT(cond, message) if (cond) (OPT_ERROR_FMT(ER_FATAL, (message))) |
| #define | OPT_ASSERT_FMT(cond, errmsg_list) if (cond) (OPT_ERROR_FMT(ER_FATAL, errmsg_list)) |
Enumerations | |
| enum | ERROR_NUMBER { ERN_IGNORED, ERN_INTERNAL, ERN_OUT_OF_MEM, ERN_BAD_OPTION, MAX_ERN_NUMBER } |
Functions/Subroutines | |
| void | OPT_Error (INT type, INT errnum,...) |
| void | OPT_Error_Fmt (INT type, const char *fmt_str,...) |
| void | Opt_Catch_Signals (void) |
Variables | |
| char * | opt_Abort_File |
| INT | opt_Abort_Loc |
| #define ER_ERROR 2 |
Definition at line 82 of file opt_error.h.
Referenced by ir_prof_error(), OPT_Error(), and OPT_Error_Fmt().
| #define ER_FATAL 1 |
Definition at line 81 of file opt_error.h.
Referenced by cgt_fini(), expand_htab(), expand_strtab(), hashinit(), ipa_compile_init(), ir_prof_error(), ld_compile(), OPT_Error(), OPT_Error_Fmt(), and Signal_Cleanup().
| #define ER_INFO 3 |
Definition at line 83 of file opt_error.h.
Referenced by ir_prof_error(), OPT_Error(), and OPT_Error_Fmt().
| #define ER_VERBOSE 4 |
Definition at line 84 of file opt_error.h.
Referenced by ir_prof_error(), OPT_Error(), and OPT_Error_Fmt().
Definition at line 117 of file opt_error.h.
Referenced by opt_error(), opt_info(), and opt_verbose().
Definition at line 120 of file opt_error.h.
Value:
(opt_Abort_File = __FILE__, opt_Abort_Loc = __LINE__, \ OPT_Error(type, errno))
Definition at line 109 of file opt_error.h.
| #define OPT_ERROR_FMT | ( | type, | |||
| errmsg_list | ) |
Value:
(opt_Abort_File = __FILE__, opt_Abort_Loc = __LINE__,\ OPT_Error_Fmt (type, errmsg_list))
Definition at line 113 of file opt_error.h.
| enum ERROR_NUMBER |
Definition at line 90 of file opt_error.h.
Definition at line 158 of file opt_error.c.
References ER_ERROR, ER_FATAL, ER_INFO, ER_VERBOSE, opt_error(), opt_fatal(), opt_info(), opt_verbose(), va_end, and va_start.
Definition at line 181 of file opt_error.c.
References BOOL, ER_ERROR, ER_FATAL, ER_INFO, ER_VERBOSE, ERN_IGNORED, error_routine(), FALSE, TRUE, va_end, and va_start.
| char* opt_Abort_File |
1.5.6