Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
config_debug.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  debug_flags

Defines

#define DIV_ZERO_CHECK   1 /* Divide-by-zero check */
#define DIV_OFLOW_CHECK   2 /* Divide overflow (MAX/-1) check */
#define DEFAULT_DIV_CHECK   DIV_ZERO_CHECK
#define ALIGN_NORMAL   0 /* generate ldl/ldr as needed */
#define ALIGN_FIXADE   1 /* kernel will fix unaligned memory instruction */
#define ALIGN_COMPOSE   2 /* compile generated instructions for non-aligned data */
#define DEFAULT_ALIGN   ALIGN_NORMAL
#define DEBUG_Const_Mod_Warning   (Current_DEBUG->cmod_warn)
#define DEBUG_Const_Mod_Warning_Set   (Current_DEBUG->cmod_warn_set)
#define DEBUG_Cray_Port   (Current_DEBUG->cray_port)
#define DEBUG_Cray_Port_Set   (Current_DEBUG->cray_port_set)
#define DEBUG_Div_Check   (Current_DEBUG->div_check)
#define DEBUG_Div_Check_Set   (Current_DEBUG->div_check_set)
#define DEBUG_Div_Zero_Check   (Current_DEBUG->div_check & DIV_ZERO_CHECK)
#define DEBUG_Div_Oflow_Check   (Current_DEBUG->div_check & DIV_OFLOW_CHECK)
#define DEBUG_Equiv_Warning   (Current_DEBUG->equiv_warn)
#define DEBUG_Equiv_Warning_Set   (Current_DEBUG->equiv_warn_set)
#define DEBUG_Fullwarn   (Current_DEBUG->fullwarn)
#define DEBUG_Fullwarn_Set   (Current_DEBUG->fullwarn_set)
#define DEBUG_Full_Interface_Check   (Current_DEBUG->full_iface_check)
#define DEBUG_Full_Interface_Check_Set   (Current_DEBUG->full_iface_check_set)
#define DEBUG_Int32_Overflow_Check   (Current_DEBUG->i32_oflow_check)
#define DEBUG_Int32_Overflow_Check_Set   (Current_DEBUG->i32_oflow_check_set)
#define DEBUG_Int_Overflow_Check   (Current_DEBUG->int_oflow_check)
#define DEBUG_Int_Overflow_Check_Set   (Current_DEBUG->int_oflow_check_set)
#define DEBUG_Optimize_Space   (Current_DEBUG->optimize_space)
#define DEBUG_Parameter_Alias_Check   (Current_DEBUG->parm_alias_check)
#define DEBUG_Parameter_Alias_Check_Set   (Current_DEBUG->parm_alias_check_set)
#define DEBUG_Pointer_Increment_Warning   (Current_DEBUG->ptr_incr_warn)
#define DEBUG_Pointer_Increment_Warning_Set   (Current_DEBUG->ptr_incr_warn_set)
#define DEBUG_Printf_Warning   (Current_DEBUG->printf_warn)
#define DEBUG_Printf_Warning_Set   (Current_DEBUG->printf_warn_set)
#define DEBUG_Shift_Check   (Current_DEBUG->shift_check)
#define DEBUG_Shift_Check_Set   (Current_DEBUG->shift_check_set)
#define DEBUG_Shift_Warning   (Current_DEBUG->shift_warn)
#define DEBUG_Shift_Warning_Set   (Current_DEBUG->shift_warn_set)
#define DEBUG_Subscript_Check   (Current_DEBUG->subscript_check)
#define DEBUG_Subscript_Check_Set   (Current_DEBUG->subscript_check_set)
#define DEBUG_Trap_Uv   (Current_DEBUG->trap_uv)
#define DEBUG_Trap_Uv_Set   (Current_DEBUG->trap_uv_set)
#define DEBUG_Trap_Uv_Rjustify   (Current_DEBUG->trap_uv_rjustify)
#define DEBUG_Trap_Uv_Rjustify_Set   (Current_DEBUG->trap_uv_rjustify_set)
#define DEBUG_Trunc_Check   (Current_DEBUG->trunc_check)
#define DEBUG_Trunc_Check_Set   (Current_DEBUG->trunc_check_set)
#define DEBUG_Trunc_Warning   (Current_DEBUG->trunc_warn)
#define DEBUG_Trunc_Warning_Set   (Current_DEBUG->trunc_warn_set)
#define DEBUG_Varargs_Interface_Check   (Current_DEBUG->varargs_iface_check)
#define DEBUG_Varargs_Interface_Check_Set   (Current_DEBUG->varargs_iface_check_set)
#define DEBUG_Varargs_Prototypes   (Current_DEBUG->varargs_prototypes)
#define DEBUG_Varargs_Prototypes_Set   (Current_DEBUG->varargs_prototypes_set)
#define DEBUG_Verbose_Runtime   (Current_DEBUG->verbose_runtime)
#define DEBUG_Verbose_Runtime_Set   (Current_DEBUG->verbose_runtime_set)
#define DEBUG_Ir_Version_Check   (Current_DEBUG->ir_version_check)
#define DEBUG_IPALNO_Version_Check   (Current_DEBUG->ipalno_version_check)
#define DEBUG_Alignment   (Current_DEBUG->alignment)
#define DEBUG_Alignment_Normal   (Current_DEBUG->alignment==ALIGN_NORMAL)
#define DEBUG_Alignment_Fixade   (Current_DEBUG->alignment==ALIGN_FIXADE)
#define DEBUG_Alignment_Compose   (Current_DEBUG->alignment==ALIGN_COMPOSE)
#define DEBUG_Conform_Check   (Current_DEBUG->conform_check)
#define DEBUG_Conform_Check_Set   (Current_DEBUG->conform_check_set)

Typedefs

typedef struct debug_flags DEBUG_FLAGS

Functions

void DEBUG_Init_Config (void)
void DEBUG_Push_Config (BOOL use_default)
BOOL DEBUG_Pop_Config (void)
void DEBUG_Configure (void)

Variables

DEBUG_FLAGSCurrent_DEBUG
DEBUG_FLAGS Initial_DEBUG

Define Documentation

#define ALIGN_COMPOSE   2 /* compile generated instructions for non-aligned data */

Definition at line 227 of file config_debug.h.

Referenced by DEBUG_Configure_Alignment().

#define ALIGN_FIXADE   1 /* kernel will fix unaligned memory instruction */

Definition at line 226 of file config_debug.h.

Referenced by DEBUG_Configure_Alignment().

#define ALIGN_NORMAL   0 /* generate ldl/ldr as needed */

Definition at line 225 of file config_debug.h.

Referenced by DEBUG_Configure_Alignment().

#define DEBUG_Alignment   (Current_DEBUG->alignment)

Definition at line 284 of file config_debug.h.

Referenced by DEBUG_Configure_Alignment().

Definition at line 287 of file config_debug.h.

Definition at line 286 of file config_debug.h.

Definition at line 285 of file config_debug.h.

Referenced by DEBUG_Configure_Alignment().

Definition at line 288 of file config_debug.h.

Referenced by cwh_stmt_postprocess_pu(), and DEBUG_Configure().

#define DEBUG_Conform_Check_Set   (Current_DEBUG->conform_check_set)

Definition at line 289 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Const_Mod_Warning   (Current_DEBUG->cmod_warn)

Definition at line 232 of file config_debug.h.

#define DEBUG_Const_Mod_Warning_Set   (Current_DEBUG->cmod_warn_set)

Definition at line 233 of file config_debug.h.

#define DEBUG_Cray_Port   (Current_DEBUG->cray_port)

Definition at line 234 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Cray_Port_Set   (Current_DEBUG->cray_port_set)

Definition at line 235 of file config_debug.h.

#define DEBUG_Div_Check   (Current_DEBUG->div_check)

Definition at line 236 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Div_Check_Set   (Current_DEBUG->div_check_set)

Definition at line 237 of file config_debug.h.

Referenced by DEBUG_Configure().

Definition at line 239 of file config_debug.h.

#define DEBUG_Div_Zero_Check   (Current_DEBUG->div_check & DIV_ZERO_CHECK)

Definition at line 238 of file config_debug.h.

Referenced by OPCODE_Can_Be_Speculative().

#define DEBUG_Equiv_Warning   (Current_DEBUG->equiv_warn)

Definition at line 240 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Equiv_Warning_Set   (Current_DEBUG->equiv_warn_set)

Definition at line 241 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Full_Interface_Check   (Current_DEBUG->full_iface_check)

Definition at line 245 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Full_Interface_Check_Set   (Current_DEBUG->full_iface_check_set)

Definition at line 246 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Fullwarn   (Current_DEBUG->fullwarn)

Definition at line 243 of file config_debug.h.

Referenced by DEBUG_Configure(), and sgi_cmd_line().

#define DEBUG_Fullwarn_Set   (Current_DEBUG->fullwarn_set)

Definition at line 244 of file config_debug.h.

#define DEBUG_Int32_Overflow_Check   (Current_DEBUG->i32_oflow_check)

Definition at line 247 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Int32_Overflow_Check_Set   (Current_DEBUG->i32_oflow_check_set)

Definition at line 248 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Int_Overflow_Check   (Current_DEBUG->int_oflow_check)

Definition at line 249 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Int_Overflow_Check_Set   (Current_DEBUG->int_oflow_check_set)

Definition at line 250 of file config_debug.h.

#define DEBUG_IPALNO_Version_Check   (Current_DEBUG->ipalno_version_check)

Definition at line 282 of file config_debug.h.

#define DEBUG_Ir_Version_Check   (Current_DEBUG->ir_version_check)

Definition at line 281 of file config_debug.h.

Referenced by check_section_headers().

#define DEBUG_Optimize_Space   (Current_DEBUG->optimize_space)

Definition at line 251 of file config_debug.h.

#define DEBUG_Parameter_Alias_Check   (Current_DEBUG->parm_alias_check)

Definition at line 252 of file config_debug.h.

#define DEBUG_Parameter_Alias_Check_Set   (Current_DEBUG->parm_alias_check_set)

Definition at line 253 of file config_debug.h.

#define DEBUG_Pointer_Increment_Warning   (Current_DEBUG->ptr_incr_warn)

Definition at line 254 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Pointer_Increment_Warning_Set   (Current_DEBUG->ptr_incr_warn_set)

Definition at line 255 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Printf_Warning   (Current_DEBUG->printf_warn)

Definition at line 256 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Printf_Warning_Set   (Current_DEBUG->printf_warn_set)

Definition at line 257 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Shift_Check   (Current_DEBUG->shift_check)

Definition at line 259 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Shift_Check_Set   (Current_DEBUG->shift_check_set)

Definition at line 260 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Shift_Warning   (Current_DEBUG->shift_warn)

Definition at line 261 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Shift_Warning_Set   (Current_DEBUG->shift_warn_set)

Definition at line 262 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Subscript_Check   (Current_DEBUG->subscript_check)

Definition at line 263 of file config_debug.h.

Referenced by cwh_addr_do_bounds_check(), DEBUG_Configure(), and sgi_cmd_line().

#define DEBUG_Subscript_Check_Set   (Current_DEBUG->subscript_check_set)

Definition at line 264 of file config_debug.h.

#define DEBUG_Trap_Uv   (Current_DEBUG->trap_uv)

Definition at line 265 of file config_debug.h.

Referenced by Configure_Source_Target(), cwh_inline_allocate(), and DEBUG_Configure().

#define DEBUG_Trap_Uv_Rjustify   (Current_DEBUG->trap_uv_rjustify)

Definition at line 267 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Trap_Uv_Rjustify_Set   (Current_DEBUG->trap_uv_rjustify_set)

Definition at line 268 of file config_debug.h.

#define DEBUG_Trap_Uv_Set   (Current_DEBUG->trap_uv_set)

Definition at line 266 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Trunc_Check   (Current_DEBUG->trunc_check)

Definition at line 269 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Trunc_Check_Set   (Current_DEBUG->trunc_check_set)

Definition at line 270 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Trunc_Warning   (Current_DEBUG->trunc_warn)

Definition at line 271 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Trunc_Warning_Set   (Current_DEBUG->trunc_warn_set)

Definition at line 272 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DEBUG_Varargs_Interface_Check   (Current_DEBUG->varargs_iface_check)

Definition at line 273 of file config_debug.h.

#define DEBUG_Varargs_Interface_Check_Set   (Current_DEBUG->varargs_iface_check_set)

Definition at line 274 of file config_debug.h.

#define DEBUG_Varargs_Prototypes   (Current_DEBUG->varargs_prototypes)

Definition at line 275 of file config_debug.h.

#define DEBUG_Varargs_Prototypes_Set   (Current_DEBUG->varargs_prototypes_set)

Definition at line 276 of file config_debug.h.

#define DEBUG_Verbose_Runtime   (Current_DEBUG->verbose_runtime)

Definition at line 277 of file config_debug.h.

#define DEBUG_Verbose_Runtime_Set   (Current_DEBUG->verbose_runtime_set)

Definition at line 278 of file config_debug.h.

Definition at line 228 of file config_debug.h.

Definition at line 222 of file config_debug.h.

#define DIV_OFLOW_CHECK   2 /* Divide overflow (MAX/-1) check */

Definition at line 221 of file config_debug.h.

Referenced by DEBUG_Configure().

#define DIV_ZERO_CHECK   1 /* Divide-by-zero check */

Definition at line 220 of file config_debug.h.

Referenced by DEBUG_Configure().


Typedef Documentation

typedef struct debug_flags DEBUG_FLAGS

Function Documentation

void DEBUG_Init_Config ( void  )

Definition at line 315 of file config_debug.cxx.

References Default_DEBUG, debug_flags::next, and next.

BOOL DEBUG_Pop_Config ( void  )

Definition at line 371 of file config_debug.cxx.

References FALSE, free(), debug_flags::next, and TRUE.

Here is the call graph for this function:

void DEBUG_Push_Config ( BOOL  use_default)

Definition at line 339 of file config_debug.cxx.

References Current_DEBUG, EC_No_Mem, ErrMsg(), and debug_flags::next.

Here is the call graph for this function:


Variable Documentation

Definition at line 153 of file config_debug.cxx.

Referenced by DEBUG_Push_Config(), and sgi_cmd_line().

Definition at line 113 of file config_debug.cxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines