Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
errors.h File Reference
#include "errdesc.h"
#include "srcpos.h"
#include "err_host.h"
#include <errno.h>
Include dependency graph for errors.h:

Go to the source code of this file.

Defines

#define Assert(Cond, ParmList)
#define FmtAssert(Cond, ParmList)
#define Require(Cond, ParmList)
#define Insist(a, b)   ((void) 1)
#define Is_True   FmtAssert
#define Lmt_DevWarn(limit, args)
#define DevAssert   Is_True
#define DevAssert_On   Is_True_On
#define ES_IGNORE   0 /* Ignore completely */
#define ES_ADVISORY   1 /* Advisory only */
#define ES_WARNING   2 /* Warning - potential problem */
#define ES_CONFORMANCE   3 /* May not conform to standard */
#define ES_ERROR   4 /* Minimum error level */
#define ES_ERRBENIGN   4 /* Error: finish processing */
#define ES_ERRPHASE   5 /* Error: finish phase, other files */
#define ES_ERRABORT   6 /* Error: terminate immediately */
#define ES_MAX   6 /* Maximum severity */
#define EP_GLOBAL   1 /* Global, general-purpose codes */
#define EP_LIB   2 /* Program librarian codes */
#define EP_BE   5 /* Compiler back end codes (not CG) */
#define EP_CG   6 /* Code generator codes */
#define EP_PREDEFINED   6 /* Last predefined phase */
#define ET_UNKNOWN   0 /* Mistake */
#define ET_INT   1 /* Scaled integer */
#define ET_INT32   2 /* 32-bit integer */
#define ET_INT64   3 /* 64-bit integer */
#define ET_FLOAT   4 /* Pointer to float */
#define ET_DOUBLE   5 /* Pointer to double float */
#define ET_POINTER   6 /* Arbitrary pointer */
#define ET_STRING   7 /* Standard character string */
#define ET_SYSERR   8 /* Unix error code */
#define ET_STRTAB   9 /* Pointer to string table */
#define ET_SYMTAB   10 /* Pointer to symbol table */
#define ET_TN   11 /* Pointer to TN */
#define ET_NODE   12 /* Pointer to tree node */
#define ET_PREDEFINED   13 /* Last predefined kind */
#define ERROR_LINE_UNKNOWN   0

Functions

void Abort_Compiler_Location (const char *file_name, INT line_number)
void Fail_Assertion (INT ecode,...)
void Fail_FmtAssertion (const char *fmt,...)
void Fatal_Error (const char *fmt,...)
void ErrMsg (INT ErrCode,...)
void ErrMsgLine (INT ErrCode, INT LineNo,...)
void ErrMsgSrcpos (INT ErrCode, SRCPOS SrcPos,...)
void DevWarn (const char *FormatString,...)
void DevWarn_Toggle (void)
BOOL Count_Limit_DevWarn (const char *const src_fname, const UINT src_line, const UINT limit)
void Set_Error_Tables (struct error_desc_table *edt, const char *errlist[])
void Set_Error_Descriptor (INT, ERROR_DESC *)
void Set_Error_File (const char *filename)
void Set_Error_Trace (FILE *stream)
void Set_Error_Source (const char *filename)
void Set_Error_Line (INT LineNo)
void Set_Error_Srcpos (SRCPOS SrcPos)
void Set_Error_Phase (const char *phasename)
const char * Get_Error_Phase (void)
BOOL Get_Error_Count (INT *Error_Count, INT *Warning_Count)
void Init_Error_Handler (INT Max_Allowed_Errors)
void Handle_Signals (void)
void Rag_Handle_Woff_Args (char *wstring)
BOOL Had_Internal_Error (void)

Variables

INT Min_Error_Severity
INT Conformance_Level

Define Documentation

#define Assert (   Cond,
  ParmList 
)
Value:
( Cond ? (void) 1                                               \
           : ( Abort_Compiler_Location ( __FILE__, __LINE__ ),  \
               Fail_Assertion ParmList ) )

Definition at line 424 of file errors.h.

#define DevAssert   Is_True

Definition at line 478 of file errors.h.

Referenced by cwh_addr_address_ST(), cwh_addr_compute_stride_fudge_factor(), cwh_addr_load_ST(), cwh_addr_load_WN(), cwh_addr_nonc_recast(), cwh_addr_nonc_util(), cwh_addr_pstore_ST(), cwh_addr_pstore_WN(), cwh_addr_store_ST(), cwh_addr_store_WN(), cwh_addr_WN_ST(), cwh_auxst_add_dummy(), cwh_auxst_add_list(), cwh_auxst_find_dummy_len(), cwh_auxst_find_list(), cwh_block_add_to_enclosing_regions(), cwh_block_find_address(), cwh_block_pop_block(), cwh_block_pop_region(), cwh_block_push_region(), cwh_block_set_region_pragmas(), cwh_directive_load_value_pragma(), cwh_directive_work_dist(), cwh_dope_from_expression(), cwh_dope_get_dope_fudge_factor(), cwh_dope_read_bound(), cwh_dope_store_bound(), cwh_dst_is_character_TY(), cwh_dst_mk_common(), cwh_dst_mk_dope_bound(), cwh_dst_mk_type(), cwh_dst_stride_kind(), cwh_expr_address(), cwh_expr_compare_char(), cwh_expr_operand(), cwh_intrin_popcnt_leadz_helper(), cwh_intrin_wrap_char_parm(), cwh_io_analyse_io_item(), cwh_io_create_dope_from_item(), cwh_io_ioitem(), cwh_io_no_desc(), cwh_mp_region(), cwh_parallel(), cwh_preg_next_preg(), cwh_reorder(), cwh_stab_altentry_TY(), cwh_stab_altres_offset(), cwh_stab_const_ST(), cwh_stab_distrib_pragmas(), cwh_stab_full_split(), cwh_stab_mk_flds(), cwh_stk_count_STRs(), cwh_stk_get_class(), cwh_stk_get_FLD_TY(), cwh_stk_get_TY(), cwh_stk_is_byte_STR(), cwh_stk_pop_ADDR(), cwh_stk_pop_DEREF(), cwh_stk_pop_FLD(), cwh_stk_pop_LB(), cwh_stk_pop_PCONST(), cwh_stk_pop_ST(), cwh_stk_pop_STR(), cwh_stk_pop_whatever(), cwh_stk_pop_WHIRL(), cwh_stk_pop_WN(), cwh_stk_push_STR(), cwh_stk_push_top_item_again(), cwh_stk_push_typed(), cwh_stk_verify_empty(), cwh_stmt_call_helper(), cwh_stmt_conformance_checks_walk(), DST_set_assoc_idx(), fei_allocate(), fei_arg_addr(), fei_arith_con(), fei_array_construct(), fei_assert(), fei_blocking_size(), fei_close(), fei_concat(), fei_constant(), fei_copyin_bound(), fei_criticalsection(), fei_fission(), fei_function_ref(), fei_fuse(), fei_gen_func_entry(), fei_get_dv_hdr_fld(), fei_inquire(), fei_label(), fei_name(), fei_namelist(), fei_noio_implied_do(), fei_nseq_subscr(), fei_object(), fei_object_ref(), fei_open(), fei_paralleldo_open_mp(), fei_parallelsections_open_mp(), fei_parallelworkshare_open_mp(), fei_prefetch_ref_disable(), fei_pstore(), fei_redistribute(), fei_return(), fei_seg_ref(), fei_seq_subscr(), fei_set_dv_hdr_fld(), fei_static_base(), fei_static_member(), fei_static_simple_reloc_init(), fei_static_subscripts(), fei_stop(), fei_store(), fei_substr(), fei_task_var(), fei_trunc(), fei_unroll(), get_base_and_offset(), AUXST_TAB_SYMTAB_ACCESS::operator()(), simple_intrinsic(), simple_intrinsic_nt(), Substitute_1_For_Impdo_Index_Val(), TCON_from_stack(), and WN_Is_Volatile_Mem().

#define DevAssert_On   Is_True_On

Definition at line 479 of file errors.h.

#define EP_BE   5 /* Compiler back end codes (not CG) */

Definition at line 522 of file errors.h.

Referenced by load_components(), and main().

#define EP_CG   6 /* Code generator codes */

Definition at line 523 of file errors.h.

Referenced by main().

#define EP_GLOBAL   1 /* Global, general-purpose codes */

Definition at line 511 of file errors.h.

#define EP_LIB   2 /* Program librarian codes */

Definition at line 512 of file errors.h.

#define EP_PREDEFINED   6 /* Last predefined phase */

Definition at line 524 of file errors.h.

#define ES_ADVISORY   1 /* Advisory only */

Definition at line 492 of file errors.h.

Referenced by DEBUG_Configure(), List_Compile_Options(), and Process_Command_Line().

#define ES_CONFORMANCE   3 /* May not conform to standard */

Definition at line 494 of file errors.h.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

#define ES_ERRABORT   6 /* Error: terminate immediately */
#define ES_ERRBENIGN   4 /* Error: finish processing */

Definition at line 496 of file errors.h.

#define ES_ERROR   4 /* Minimum error level */

Definition at line 495 of file errors.h.

Referenced by ErrMsg_Report_Nonuser(), ErrMsg_Report_User(), and Process_Command_Line().

#define ES_ERRPHASE   5 /* Error: finish phase, other files */

Definition at line 497 of file errors.h.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

#define ES_IGNORE   0 /* Ignore completely */

Definition at line 491 of file errors.h.

#define ES_MAX   6 /* Maximum severity */

Definition at line 499 of file errors.h.

Referenced by Init_Error_Handler().

#define ES_WARNING   2 /* Warning - potential problem */

Definition at line 493 of file errors.h.

Referenced by Get_Error_Count(), List_Compile_Options(), and Process_Command_Line().

#define ET_DOUBLE   5 /* Pointer to double float */

Definition at line 532 of file errors.h.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

#define ET_FLOAT   4 /* Pointer to float */

Definition at line 531 of file errors.h.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

#define ET_INT   1 /* Scaled integer */

Definition at line 528 of file errors.h.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

#define ET_INT32   2 /* 32-bit integer */

Definition at line 529 of file errors.h.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

#define ET_INT64   3 /* 64-bit integer */

Definition at line 530 of file errors.h.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

#define ET_NODE   12 /* Pointer to tree node */

Definition at line 540 of file errors.h.

#define ET_POINTER   6 /* Arbitrary pointer */

Definition at line 533 of file errors.h.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

#define ET_PREDEFINED   13 /* Last predefined kind */

Definition at line 541 of file errors.h.

#define ET_STRING   7 /* Standard character string */

Definition at line 534 of file errors.h.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

#define ET_STRTAB   9 /* Pointer to string table */

Definition at line 537 of file errors.h.

#define ET_SYMTAB   10 /* Pointer to symbol table */

Definition at line 538 of file errors.h.

Referenced by Host_Format_Parm().

#define ET_SYSERR   8 /* Unix error code */

Definition at line 535 of file errors.h.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

#define ET_TN   11 /* Pointer to TN */

Definition at line 539 of file errors.h.

#define ET_UNKNOWN   0 /* Mistake */

Definition at line 527 of file errors.h.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

#define FmtAssert (   Cond,
  ParmList 
)
Value:
( Cond ? (void) 1                                               \
           : ( Abort_Compiler_Location ( __FILE__, __LINE__ ),  \
               Fail_FmtAssertion ParmList) )

Definition at line 430 of file errors.h.

Referenced by SORTED_MAP< KEY, RANGE >::_sort(), add_phase_args(), Add_Pragma_To_MP_Regions(), Allocate_Label(), Assign_ST_To_Named_Section(), Bind_Stack_Frame(), Calc_Actual_Area(), Calc_Formal_Area(), Check_Actual_Stack_Size(), Choose_Stack_Model(), Configure(), Configure_Target(), IPO_SYMTAB::Copy_INITO(), Create_And_Set_ST_Base(), ID_MAP< NODE_TYPE, KEY_TYPE >::Delete(), Delete_Dist_Reshape_Pragmas(), Do_WOPT_and_CG_with_Regions(), DRA_Info_Matches_Encoding(), DRA_Insert_Pragmas(), DRA_New_Clone_Sig(), DRA_Read_Pragmas_In_Block(), draw_stmt(), draw_whirl_tree(), dV_view_whirl(), ID_MAP< NODE_TYPE, KEY_TYPE >::Enlarge(), Exp_To_Linex_Array(), Fill_Align_Symbol(), Finalize_Stack_Frame(), Find_Address_Base(), Find_Insertion_Point(), Find_Section_Name_For_ST(), Find_Slink_For_ST(), IPO_CLONE::Fix_INITO(), IPO_CLONE::Fix_ST(), Formal_Position(), IVAR::Formal_Position(), Gen_Call_Array(), Gen_Malloc_Cart(), Generate_Tlog(), ARRAY_SUMMARY::Get_cfg_node_array(), Get_INITV_Size(), ARRAY_SUMMARY::Get_ivar_array(), ARRAY_SUMMARY::Get_loopinfo_array(), Get_Parameter_Location(), ARRAY_SUMMARY::Get_projected_array(), ARRAY_SUMMARY::Get_projected_region_array(), ARRAY_SUMMARY::Get_region_array(), get_section(), ARRAY_SUMMARY::Get_term_array(), get_TY_string(), PROJECTED_KERNEL::Init(), CLIST::Init(), MHD::Initialize(), Initialize_Stack_Frame(), Initialize_Targ_Info(), ID_MAP< NODE_TYPE, KEY_TYPE >::Insert(), Insert_Alloca(), Insert_Call(), IPL_EX_Set_Expr_Index(), IPL_EX_Value_Evaluate(), IPL_EXS_Outer_Fold(), ir_b_write_tree(), ir_put_parm_keyword(), Is_Grandparent_Region(), WN_Verifier::Is_WHIRL_tree(), WN_Verifier::Load_addr_TY_is_not_NULL(), LINEX::Loop_coeff_terms_equal(), Make_Array_Type(), make_identity(), PROJECTED_REGION::Map_to_linex_array(), ir_a2b::MapFlagsToStr(), ir_a2b::MapStrToEnum(), ir_a2b::MapStrToFlags(), MEM_POOL_FREE(), MEM_POOL_Pop_P(), MEM_POOL_Pop_Unfreeze_P(), MEM_POOL_Push_Freeze_P(), MEM_POOL_Push_P(), MEM_POOL_Realloc_P(), MemCtr_Add_Local(), LINEX::Merge(), Merge_Fixed_Stack_Frame(), MFMC_Max_flow_arc_flow(), IPO_CLONE::New_Clone(), New_DRA(), IPO_SYMTAB::New_Symtab(), PROJECTED_REGION::Project(), PROJECTED_KERNEL::Project(), Projected_Region_From_St(), Prompf_Assign_Ids_Traverse(), WN_Verifier::Proper_Block_Structure(), PRQ_Delete_Top(), PRQ_Downheap(), PRQ_Remove(), PRQ_Top(), PRQ_Upheap(), Pu_Push(), Rail(), growing_table::Register(), Restore_Local_Symtab(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), Save_Local_Symtab(), Set_Error_Descriptor(), PROJECTED_NODE::Set_linex_le(), PROJECTED_REGION::Set_region(), ST_full(), IVAR::St_Idx(), WN_Verifier::ST_is_not_NULL(), ST_size(), ST_strong(), LINEX::Subtract(), Targ_WhirlOp(), TI_RES_RES_Resources_Relevant(), WN_Verifier::TY_is_not_NULL(), IPO_SYMTAB::Update_Symtab(), Verify_addr_saved_expr(), Whirl2Src_Emit(), Whirl2Src_Init(), Whirl2Src_Translate_Iload_Str(), Whirl2Src_Translate_Istore_Str(), WN_Flip_Le_And_Ge(), WN_INSERT_BlockAfter(), WN_INSERT_BlockBefore(), WN_Int_Type_Conversion(), wn_loop_reverse_compare(), WN_MAP_Do_Create(), WN_object_size(), WN_Register_Delete_Cleanup_Function(), WN_Solve_For(), WN_Upper_Bound_Standardize(), WN_WALK_Abort(), WN_WALK_SCFIter(), WN_WALK_StmtIter(), WN_WALK_TreeIter(), and WN_write_flags().

#define Insist (   a,
 
)    ((void) 1)

Definition at line 446 of file errors.h.

#define Is_True   FmtAssert

Definition at line 451 of file errors.h.

Referenced by ANL_LOOP_CONSTRUCT::_Loop_Srcpos_Range(), ANL_REGION_CONSTRUCT::_Region_Srcpos_Range(), _X_PROP_GET_(), _X_PROP_INTERSECTION_IS_NONEMPTY_(), _X_PROP_RESET_(), _X_PROP_SET_(), _X_PROP_UNIOND_(), Accumulate_Expr_PUinfo(), Accumulate_Preg_Info(), Add_Pragma_To_MP_Regions(), ID_MAP< NODE_TYPE, KEY_TYPE >::Add_to_free_list(), Adjust_Field_Offset(), ID_MAP< NODE_TYPE, KEY_TYPE >::Alloc_from_free_list(), SEGMENTED_ARRAY< T, block_size >::Allocate(), RELATED_SEGMENTED_ARRAY< T, block_size >::Allocate(), Allocate_Object(), Allocate_Object_To_Section(), Allocate_Space(), Allocate_Temp_To_Memory(), SLIST::Append(), CHAIN::Append(), Append_And_Copy_Token_List(), Append_Array_Segment(), Append_CallSite(), Append_Clause_Expressions(), Append_Clause_Symbols(), Append_Distribution(), Append_F77_Comment_Newline(), Append_F77_Directive_Newline(), Append_F77_Indented_Continuation(), Append_F77_Indented_Newline(), Append_F77_Sequence_No(), Append_Indented_Newline(), SLIST::Append_List(), CHAIN::Append_List(), Append_MP_Schedtype(), Append_Nest_Clauses(), Append_Pragma_Clauses(), Append_Reduction_Clause(), Append_Srcpos_Directive(), Append_Srcpos_Map(), append_token_list(), Append_Token_Special(), Append_Token_String(), ARB_HANDLE::ARB_HANDLE(), ARB_Verify_all(), Array_Element_Then_Struct(), Array_TY_OK(), Assign_Object_To_Section(), Backend_Processing(), BS_1_2_Or_3_And_R(), BS_1_Not_2_Or_3_Minus_4_And_R(), BS_2_1_Minus_3_Or_4_And_5_And_6_And_R(), BS_2_1_Minus_3_Or_4_And_R(), BS_2_1_Minus_3_Or_R(), BS_2_3_Minus_1_Or_D(), BS_2_3_Minus_4_Minus_1_Or_D(), BS_2_3_Or_1_Or_D(), BS_3_2_Minus_1_Or_D(), BS_3_2_Minus_4_Or_1_Or_D(), BS_3_2_Minus_4_Or_5_Or_1_Or_D(), BS_3_Not_4_Or_2_And_1_Or_D(), BS_4_3_Minus_2_Not_Or_1_And_D(), BS_Choose(), BS_Choose_Next(), BS_Choose_Range(), BS_Create(), BS_Difference1D(), BS_Intersection_Choose(), BS_Intersection_Choose_Next(), BS_Intersection_MemberP(), bs_Malloc(), BS_MemberP(), BS_RangeD(), bs_Realloc(), BS_SingletonD(), BS_Union1D(), Check_TCON(), W2CF_TRANSLATOR::ClauseList_To_String(), RELATED_SEGMENTED_ARRAY< T, block_size >::Clear(), IPO_SYMTAB::Clone_INITVs_For_EH(), Common_Variable(), Copy_array_range(), TY::Copy_constructor(), Copy_option(), Create_And_Set_ST_Base(), Create_Special_Global_Symbols(), cwh_cray_type_from_MTYPE(), cwh_cray_type_from_TY(), cwh_dst_filename_from_filenum(), cwh_stmt_insert_conformance_check(), cwh_types_array_TY(), cwh_types_form_misaligned_TY(), cwh_types_mk_anon_name(), cwh_types_mk_basic_TY(), cwh_types_mk_element(), cwh_types_mk_logical_TY(), cwh_types_pop_dtype(), cwh_types_scalar_TY(), cwh_types_size_WN(), cwh_types_WN_TY(), dbg_tokens(), DEP_Distance(), DEP_Lex_Pos_Compose(), Dim_Length(), DIRECTION_Print(), Do_WOPT_and_CG_with_Regions(), DRA_EC_Array_Portion_Parms(), DST_CHECK_BLOCK_IDX(), DST_CHECK_IDX(), Em_Targ_Emit_Const(), Emit_To_PUinfo_Pragmas(), ID_MAP< NODE_TYPE, KEY_TYPE >::Enlarge(), SEGMENTED_ARRAY< T, block_size >::Entry(), RELATED_SEGMENTED_ARRAY< T, block_size >::Entry(), ID_MAP< NODE_TYPE, KEY_TYPE >::Entry_lookup(), PROJECTED_REGION::Equivalent(), TY::Etype(), F90_Size_Walk(), FB_FREQ::FB_FREQ(), FB_Info_Branch::FB_Info_Branch(), FB_Info_Call::FB_Info_Call(), FBS_MemberP_Validate(), FBS_Union1D_Validate(), fei_array_dimen(), fei_co_array_dimen(), fei_descriptor(), fei_member(), WN_Verifier::Field_id_valid(), field_type(), Fill_Align_Symbol(), Find_Alloca(), Find_Slink_For_Scope(), Find_Slink_For_ST(), Find_Upc_Vars(), CHAIN_ITER::First(), FLD_HANDLE::FLD_HANDLE(), FLD_Verify_all(), Formal_Position(), Get_Field_Type(), Get_Inner_Array_Type(), get_new_string(), get_new_tokens(), Get_Preamble_End(), REGION_ARRAYS::Get_Projected_Region(), Get_PU_arg_area_size(), Get_surrounding_loop_count(), Get_Type_Block_Size(), Get_Type_Inner_Size(), Get_Vararg_Symbol(), Host_To_Targ_String(), Identical_Token_Lists(), Ignore_Synchronized_Construct(), Immediate_Has_All_Ones(), indented_newline_token(), Index_to_char_array(), Index_To_Str(), DRA_INFO::Init(), SLIST::Init(), Init_Constab(), Init_Controls_Tbl(), Init_ST_formal_info_for_PU(), INITV2C_block_array(), INITV2C_block_union(), INITV2C_struct_fill(), INITV2C_symoff(), INITV2C_translate(), INITV2C_val(), INITV_read_check(), ID_MAP< NODE_TYPE, KEY_TYPE >::Insert(), CHAIN_NODE::Insert_After(), CHAIN::Insert_After(), CHAIN_NODE::Insert_Before(), CHAIN::Insert_Before(), Unparse_Target_C::Intrinsic_Name(), Unparse_Target_FTN::Intrinsic_Name(), IPA_WN_Delete(), IPA_WN_MAP32_Get(), IPA_WN_MAP32_Set(), IPA_WN_MAP64_Get(), IPA_WN_MAP64_Set(), IPA_WN_MAP_Delete(), IPA_WN_MAP_Get(), IPA_WN_MAP_Set(), IPA_WN_MAP_Status(), IPA_WN_Move_Maps_PU(), ir_b_grow_map(), ir_put_wn(), Is_Empty_Token_Buffer(), CHAIN::Is_Member(), Is_nested_within(), CHAIN_ITER::Last(), CHAIN_ITER::Last_Nth(), SLIST::Len(), SLIST_ITER::Len(), CHAIN::Len(), CHAIN_ITER::Len(), Linearize_Shape(), LNO_Processing(), main(), Make_Const(), Make_Function_Type(), Make_Reduction_Identity(), LINEX::Map_access_vector(), LINEX::Max(), MEM_POOL_Alloc_P(), MEM_POOL_Delete(), MEM_POOL_FREE(), MEM_POOL_Initialize_P(), MEM_POOL_Pop_P(), MEM_POOL_Pop_Unfreeze_P(), MEM_POOL_Push_Freeze_P(), MEM_POOL_Push_P(), MEM_POOL_Realloc_P(), MEM_POOL_Report(), MemCtr_Add_Local(), Mtype_to_Ukind(), nearest_power_of_two(), Need_load_type_conversion(), Need_StoP_Cvt(), New_Const_Sym(), CHAIN_ITER::Next(), SLIST_ITER::Nth(), CHAIN_ITER::Nth(), OPCODE_desc(), OPCODE_has_1ty(), OPCODE_has_2offsets(), OPCODE_has_2ty(), OPCODE_has_barrier(), OPCODE_has_bits(), OPCODE_has_ereg_supp(), OPCODE_has_esize(), OPCODE_has_field_id(), OPCODE_has_flags(), OPCODE_has_inumber(), OPCODE_has_label(), OPCODE_has_last_label(), OPCODE_has_ndim(), OPCODE_has_next_prev(), OPCODE_has_num_entries(), OPCODE_has_offset(), OPCODE_has_sym(), OPCODE_has_value(), OPCODE_is_black_box(), OPCODE_is_boolean(), OPCODE_is_call(), OPCODE_is_comp_unit_if(), OPCODE_is_compare(), OPCODE_is_endsbb(), OPCODE_is_expression(), OPCODE_is_leaf(), OPCODE_is_load(), OPCODE_is_non_scf(), OPCODE_is_not_executable(), OPCODE_is_prefetch(), OPCODE_is_scf(), OPCODE_is_stmt(), OPCODE_is_store(), OPCODE_mapcat(), OPCODE_name(), OPCODE_nkids(), OPCODE_operator(), OPCODE_rtype(), comp_same_pragma::operator()(), comp_aliased::operator()(), comp_same_label_no::operator()(), TABLE_INDEXED_BY_LEVEL8_AND_INDEX24< ENTRY_TYPE, INDEX_TYPE, LEVEL_INDEX_TYPE, LEVEL_CONTAINER_TYPE, level_container_ptr, LEVEL_MEMBER_ACCESSOR >::operator()(), IPO_SYMTAB::fix_table_entry< T >::operator()(), IPO_SYMTAB::fix_base< T >::operator()(), FB_FREQ::operator*=(), FB_FREQ::operator/=(), SORTED_MAP< KEY, RANGE >::operator[](), OPERATOR_has_1ty(), OPERATOR_has_2offsets(), OPERATOR_has_2ty(), OPERATOR_has_barrier(), OPERATOR_has_bits(), OPERATOR_has_ereg_supp(), OPERATOR_has_esize(), OPERATOR_has_field_id(), OPERATOR_has_flags(), OPERATOR_has_inumber(), OPERATOR_has_label(), OPERATOR_has_last_label(), OPERATOR_has_ndim(), OPERATOR_has_next_prev(), OPERATOR_has_num_entries(), OPERATOR_has_offset(), OPERATOR_has_sym(), OPERATOR_has_value(), OPERATOR_is_black_box(), OPERATOR_is_boolean(), OPERATOR_is_call(), OPERATOR_is_comp_unit_if(), OPERATOR_is_compare(), OPERATOR_is_endsbb(), OPERATOR_is_expression(), OPERATOR_is_leaf(), OPERATOR_is_load(), OPERATOR_is_non_scf(), OPERATOR_is_not_executable(), OPERATOR_is_prefetch(), OPERATOR_is_scf(), OPERATOR_is_stmt(), OPERATOR_is_store(), OPERATOR_mapcat(), OPERATOR_nkids(), Output_Srcpos_Map(), TY::Pointed(), SEGMENTED_ARRAY< T, block_size >::Pop_Map(), RELATED_SEGMENTED_ARRAY< T, block_size >::Pop_Map(), Preg_Name(), SLIST::Prepend(), CHAIN::Prepend(), Prepend_And_Copy_Token_List(), Prepend_F77_Comment_Newline(), Prepend_F77_Directive_Newline(), Prepend_F77_Indented_Continuation(), Prepend_F77_Indented_Newline(), Prepend_F77_Sequence_No(), Prepend_Indented_Newline(), SLIST::Prepend_List(), CHAIN::Prepend_List(), Prepend_Srcpos_Directive(), Prepend_Srcpos_Map(), prepend_token_list(), Prepend_Token_Special(), Prepend_Token_String(), Preprocess_PU(), CHAIN_ITER::Prev(), FB_FREQ::Print(), Process_Command_Line_Group(), Process_Feedback_Options(), OPTIONS_STACK::Process_Pragma_Options(), Process_Stack_Variable(), Process_Trace_Option(), Promoted_Parm_Type(), Ptr_as_String(), PU_Init(), PU_lexical_level(), Pu_Pop(), PUinfo_init_pu(), PUinfo_initialize(), References_Some_Label(), REGION_search_block(), SLIST_NODE::Remove(), SLIST::Remove(), CHAIN_NODE::Remove(), CHAIN::Remove(), ID_MAP< NODE_TYPE, KEY_TYPE >::Remove_from_free_list(), CHAIN::Remove_Head(), SLIST::Remove_Headnode(), SLIST::Remove_node(), Remove_Skips(), CHAIN::Remove_Tail(), Reset_PREG_Table_Size_explicit(), Reset_ST_ATTR_Table_Size_explicit(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), save_buf_at_offset(), Save_or_restore_options(), Set_addr_saved_expr(), IPO_CLONE::Set_Entry_Point(), Set_PU_arg_area_size(), Set_ST_blk(), Set_ST_formal_preg_num(), Set_ST_full_idx(), Set_ST_pu(), Set_ST_strong_idx(), Setup_Preg_Pointers(), Shared_Load_Extend_Mtyp(), SLIST::SLIST(), Spill_Shared_Load(), FB_FREQ::Sprintf(), ST2C_decl_const(), ST2C_decl_error(), ST2C_decl_func(), ST2C_decl_var(), ST2C_Find_Common_Block(), ST2C_formal_ref_decl(), ST2C_func_header(), ST2C_Get_Common_Ty2c_List(), ST2C_New_Common_Block(), ST2C_use_const(), ST2C_use_error(), ST2C_use_func(), ST2C_use_var(), ST2C_weakext_translate(), ST_ATTR_reg_id(), ST_ATTR_section_name(), ST_blk(), ST_Block_Merge(), St_Block_Union(), ST_full_idx(), ST_is_const_and_has_initv(), ST_is_const_initialized_scalar(), ST_is_private_local(), ST_pu(), ST_pu_type(), ST_strong_idx(), ST_Verify_Class_Sclass(), ST_Verify_Fields(), ST_Verify_Flags(), ST_Verify_Sclass_Export(), Stab_Get_Mload_Ty(), Stab_Unlock_Tmpvar(), STB_align(), store_ctrl(), Str_Write_And_Reclaim_Tokens(), Targ_Conv(), Targ_Emit_Const(), Targ_Emit_String(), Targ_String_Address(), Targ_String_Length(), Targ_WhirlOp(), TCON_For_Initv(), TCON_Verify(), TI_RES_COUNT_Min_II(), TY2C_invalid(), TY2C_Prepend_Alignment_Type(), TY2C_scalar(), TY2C_translate(), TY_is_pshared(), TY_log_base2(), TY_parms(), TY_ret_type(), TY_Verify_Kind_Function(), TY_Verify_Kind_Mtype(), U64_LOWER_expr(), Upc_Lower_SymbolTable(), Var_Loaded_From(), Var_Stored_In(), INITO::Verify(), INITV::Verify(), FLD::Verify(), ID_MAP< NODE_TYPE, KEY_TYPE >::Verify(), ARB::Verify(), LABEL::Verify(), PREG::Verify(), ST_ATTR::Verify(), TY::Verify(), PU::Verify(), FILE_INFO::Verify(), Verify_addr_saved_expr(), Verify_GLOBAL_SYMTAB(), Verify_Upc_Metadata(), W2C_Outfile_Translate_Pu(), W2C_Push_PU(), W2C_Translate_Purple_Main(), W2CF_Identical_Symkinds(), W2F_Outfile_Translate_Pu(), W2F_Push_PU(), W2F_Translate_Purple_Main(), Weird_Array_Element(), Whirl2C_Emit(), Whirl2F_Emit(), WN2C_address_add(), WN2C_altentry(), WN2C_append_addr_plus_const(), WN2C_append_addr_plus_expr(), WN2C_Append_Preg(), WN2C_array(), WN2C_based_lvalue(), WN2C_binaryop(), WN2C_block(), WN2C_bnor(), WN2C_call(), WN2C_comma(), WN2C_comment(), WN2C_compgoto(), WN2C_complex(), WN2C_compose_bits(), WN2C_condbr(), WN2C_const(), WN2C_cvt(), WN2C_cvtl(), WN2C_do_loop(), WN2C_do_while(), WN2C_eval(), WN2C_extract_bits(), WN2C_func_entry(), WN2C_Function_Call_Lhs(), WN2C_Function_Return_Value(), WN2C_goto(), WN2C_if(), WN2C_iload(), WN2C_iloadx(), WN2C_imagpart(), WN2C_intconst(), WN2C_intrinsic_op(), WN2C_istore(), WN2C_istorex(), WN2C_label(), WN2C_lda(), WN2C_ldid(), WN2C_lvalue_st(), WN2C_madd(), WN2C_mload(), WN2C_mstore(), WN2C_msub(), WN2C_nmadd(), WN2C_nmsub(), WN2C_paren(), WN2C_parm(), WN2C_pragma(), WN2C_pragma_list_end(), WN2C_prefetch(), WN2C_process_pragma(), WN2C_rcomma(), WN2C_realpart(), WN2C_region(), WN2C_return(), WN2C_return_val(), WN2C_select(), WN2C_stid(), WN2C_switch(), WN2C_tas(), WN2C_translate_purple_main(), WN2C_unaryop(), WN2C_while_do(), WN2F_return_val(), WN2F_strctfld(), WN_ConstPowerOf2(), WN_Convert_Shared_To_Local(), WN_COPY_Tree(), WN_COPY_Tree_With_Map(), WN_CopyMap(), WN_Create(), WN_Create_PtrEq_Test(), WN_Create_Shared_Load(), WN_Create_Shared_Store(), WN_Create_StoP_Cvt(), WN_CreateAgoto(), WN_CreateComma(), WN_CreateCompgoto(), WN_CreateConst(), WN_CreateCvtl(), WN_CreateDO(), WN_CreateDoWhile(), WN_CreateEval(), WN_CreateExp1(), WN_CreateExp2(), WN_CreateExp3(), WN_CreateFalsebr(), WN_CreateIf(), WN_CreateIlda(), WN_CreateIload(), WN_CreateIloadx(), WN_CreateIntconst(), WN_CreateIo(), WN_CreateIstore(), WN_CreateIstorex(), WN_CreateLabel(), WN_CreateLda(), WN_CreateLdid(), WN_CreateLoopInfo(), WN_CreateMload(), WN_CreateMstore(), WN_CreateParm(), WN_CreatePragma(), WN_CreatePrefetch(), WN_CreatePrefetchx(), WN_CreatePStid(), WN_CreatePstore(), WN_CreateRcomma(), WN_CreateRegion(), WN_CreateStid(), WN_CreateSwitch(), WN_CreateTruebr(), WN_CreateWhileDo(), WN_CreateXgoto(), WN_DELETE_FromBlock(), WN_EXTRACT_FromBlock(), WN_EXTRACT_ItemsFromBlock(), WN_Float_Type_Conversion(), WN_Floatconst(), WN_get_symtab(), WN_GetComment(), WN_Has_Label(), WN_Int_Type_Conversion(), WN_intrinsic_return_ty(), WN_Lda(), WN_MAP_get_map_id(), WN_object_ty(), WN_Operator_To_Intrinsic(), WN_Rename_Duplicate_Labels(), WN_RotateIntconst(), WN_Set_Linenum(), WN_SetNull_Sptr(), WN_Solve_For(), WN_st(), WN_Tree_Has_Duplicate_Labels(), WN_TREE_put_expr(), WN_TREE_put_stmt(), WN_Type_Conversion(), WN_Type_To_Intrinsic(), WN_UVConst(), Write_And_Reclaim_Tokens(), write_separator(), Write_Srcpos_File_Map_Table(), and write_token().

#define Lmt_DevWarn (   limit,
  args 
)
Value:
( Count_Limit_DevWarn(__FILE__, __LINE__, limit) ? \
          DevWarn args : \
          (void) 1 )

Definition at line 469 of file errors.h.

Referenced by Set_ST_base_idx(), and ST_type().

#define Require (   Cond,
  ParmList 
)
Value:
( Cond ? (void) 1                                               \
           : ( Abort_Compiler_Location ( __FILE__, __LINE__ ),  \
               Fatal_Error ParmList) )

Definition at line 436 of file errors.h.

Referenced by main().


Function Documentation

void Abort_Compiler_Location ( const char *  file_name,
INT  line_number 
)

Definition at line 1075 of file errors.cxx.

References Compiler_File, and Compiler_Line.

BOOL Count_Limit_DevWarn ( const char *const  src_fname,
const UINT  src_line,
const UINT  limit 
)

Definition at line 1432 of file errors.cxx.

References LIMIT_STRUCT::count, dev_warn_enabled, DevWarn(), DevWarn_limit_search(), Init_Error_File(), NULL, s, Trace_File, and TRUE.

Here is the call graph for this function:

void DevWarn_Toggle ( void  )

Definition at line 1461 of file errors.cxx.

References dev_warn_enabled.

Referenced by Configure().

void ErrMsg ( INT  ErrCode,
  ... 
)

Definition at line 1014 of file errors.cxx.

References ErrMsg_Report(), Source_File_Name, and Source_Line.

Referenced by Adjust_Opt_Level(), ID_MAP< NODE_TYPE, KEY_TYPE >::Alloc_table_space(), Allocate_Block(), Allocate_Large_Block(), check_linked_list_free(), Check_TCON(), Cleanup_Files(), Close_File(), complex_divide(), complex_sqrt(), Configure(), Configure_Alias_Options(), cwh_intrin_ieee_intrin_call_helper(), cwh_intrin_ieee_intrin_helper(), DEBUG_Configure_Alignment(), DEBUG_Push_Config(), DRA_Open_And_Map_File(), DRA_Process_Requests(), DRA_Set_Write_Location(), Em_Add_Bytes_To_Scn(), Em_Add_New_Rel(), Em_Add_New_Weak_Symbol(), Em_Add_Zeros_To_Scn(), Em_Begin_File(), Em_Define_Symbol(), Em_Get_Symbol_Name(), Em_New_Section(), Em_Set_Symbol_Binding(), Em_Undefine_Symbol(), Em_Write_Reginfo(), ID_MAP< NODE_TYPE, KEY_TYPE >::Enlarge(), Equivalent_Types(), Extract_Complex_Imag(), Extract_Complex_Real(), Extract_Quad_Hi(), Extract_Quad_Lo(), Finalize_Stack_Frame(), CLIST_NODE::Find_Next(), Gen_File_Table(), Generate_Addr_Reset(), Get_Numeric_Flag(), Get_Section_ST_With_Given_Name(), Get_Trace_Phase_Number(), Hash_TCON(), Host_To_Targ(), Host_To_Targ_Complex(), Host_To_Targ_Complex_4(), Host_To_Targ_Float(), Host_To_Targ_Float_4(), Host_To_Targ_UV(), identify_schedtype(), Increase_Data_Buffer_Size(), Increase_File_Table_Size(), Increase_Incl_Table_Size(), Initialize_Option_Group(), IPA_copy_PU(), ir_b_grow_map(), ir_size(), LNO_Configure(), LNO_Push_Config(), main(), Make_Complex(), makedepend_error(), MEM_POOL_Alloc_P(), MEM_POOL_Realloc_P(), Open_Append_File(), Open_Create_File(), Open_Output_Info(), Open_Read_File(), open_specified_input(), Prepare_Listing_File(), Prepare_Source(), Prepare_Target(), print_elf_error(), Process_Command_Line(), Process_Command_Line_Group(), Process_Trace_Option(), Read_Global_Info(), Read_Local_Info(), Realloc_Clear(), Set_Trace(), Set_Trace_File(), Set_Trace_Pu(), Set_Trace_Pu_Number(), Set_Trace_Region_Number(), data_info_s::sort_data(), Stab_Compare_Types(), Targ_Convert_Length(), Targ_Emit_Const(), Targ_fp_class(), Targ_Hexfptoc(), Targ_Is_Integral(), Targ_Is_Zero(), Targ_Print(), Targ_To_Host(), Targ_To_Host_ComplexImag(), Targ_To_Host_ComplexReal(), Targ_To_Host_Float(), Targ_To_Host_Quad(), TCON2C_translate(), W2C_Outfile_Init(), WN_close_file(), WN_close_output(), WN_write_generic_map(), WN_write_prefetch(), WN_write_PU_Infos(), WN_write_symtab(), WN_write_tree(), and write_output().

Here is the call graph for this function:

void ErrMsgLine ( INT  ErrCode,
INT  LineNo,
  ... 
)

Definition at line 1026 of file errors.cxx.

References ErrMsg_Report(), and Source_File_Name.

Referenced by catch_signal(), ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

Here is the call graph for this function:

void ErrMsgSrcpos ( INT  ErrCode,
SRCPOS  SrcPos,
  ... 
)

Definition at line 1040 of file errors.cxx.

References ErrMsg_Report(), IR_Srcpos_Filename(), NULL, and Srcpos_To_Line.

Referenced by DRA_Clone_Instantiate(), DRA_Mangle_Call_Site(), DRA_New_Clone_Sig(), DRA_Read_Pragmas_In_Block(), Fill_Align_Symbol(), and New_DRA().

Here is the call graph for this function:

void Fail_Assertion ( INT  ecode,
  ... 
)

Definition at line 1093 of file errors.cxx.

References ErrMsg_Report(), Source_File_Name, and Source_Line.

Here is the call graph for this function:

void Fatal_Error ( const char *  fmt,
  ... 
)
BOOL Get_Error_Count ( INT Error_Count,
INT Warning_Count 
)

Definition at line 530 of file errors.cxx.

References Error_Count, Error_Counts, ES_WARNING, and Phase_Error.

Referenced by main().

Definition at line 1467 of file errors.cxx.

References Had_Compiler_Error.

Referenced by main().

void Handle_Signals ( void  )

Definition at line 274 of file errors.cxx.

References FPCSR_FLUSH_ZERO, get_fpc_csr(), set_fpc_csr(), setup_signal_handler(), SGI_SET_FP_PRECISE, SGI_SET_FP_PRESERVE, and syssgi().

Referenced by main(), and sgi_cmd_line().

Here is the call graph for this function:

void Rag_Handle_Woff_Args ( char *  wstring)

Definition at line 1215 of file errors.cxx.

References Dont_Print_Warning, MAX, MIN, RAG_EN_FIRST, RAG_EN_LAST, and TRUE.

Referenced by DEBUG_Configure(), and Process_Command_Line().

void Set_Error_Descriptor ( INT  ,
ERROR_DESC  
)

Definition at line 1285 of file errors.cxx.

References error_desc_table::descriptors, FALSE, and FmtAssert.

Referenced by load_components(), and main().

void Set_Error_File ( const char *  filename)

Definition at line 312 of file errors.cxx.

References Error_File, Error_File_Name, Is_File(), NULL, and unlink.

Referenced by Cleanup_Files(), Diag_Set_File(), main(), Prepare_Source(), and sgi_cmd_line().

Here is the call graph for this function:

void Set_Error_Source ( const char *  filename)

Definition at line 386 of file errors.cxx.

References NULL, source_file_name, Source_File_Name, and strcpy.

Referenced by Cleanup_Files(), cwh_stmt_init_srcpos(), main(), and Set_Error_Srcpos().

void Set_Error_Srcpos ( SRCPOS  SrcPos)

Definition at line 408 of file errors.cxx.

References IR_Srcpos_Filename(), NULL, Set_Error_Line(), Set_Error_Source(), and Srcpos_To_Line.

Here is the call graph for this function:

void Set_Error_Tables ( struct error_desc_table edt,
const char *  errlist[] 
)

Referenced by main(), and sgi_cmd_line().

void Set_Error_Trace ( FILE *  stream)

Definition at line 368 of file errors.cxx.

References NULL, Same_File(), and Trace_File.

Referenced by Set_Trace_File(), and Trace_To_Stderr().

Here is the call graph for this function:


Variable Documentation

Definition at line 115 of file errors.cxx.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines