GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Functions | Variables
complaints.h File Reference
#include <unordered_set>

Go to the source code of this file.

Classes

class  complaint_interceptor
 

Macros

#define complaint(FMT, ...)
 

Functions

void complaint_internal (const char *fmt,...) ATTRIBUTE_PRINTF(1
 
static bool have_complaint ()
 
void clear_complaints ()
 

Variables

void int stop_whining
 

Macro Definition Documentation

◆ complaint

#define complaint ( FMT,
... )
Value:
do \
{ \
if (have_complaint ()) \
complaint_internal (FMT, ##__VA_ARGS__); \
} \
while (0)
static bool have_complaint()
Definition complaints.h:38

Definition at line 47 of file complaints.h.

Referenced by die_info::addr_base(), attribute::as_virtuality(), attach_fields_to_type(), buildsym_compunit::augment_type_symtab(), bad_rfd_entry_complaint(), bad_tag_guess_complaint(), basic_type_complaint(), bf_notfound_complaint(), check_for_redefinition(), lnp_state_machine::check_line_address(), cleanup_undefined_types_1(), coff_symtab_read(), common_block_end(), common_block_start(), complain_about_struct_wipeout(), attribute::constant_value(), consume_improper_spaces(), convert_variant_range(), create_addrmap_from_gdb_index(), create_cus_hash_table(), create_debug_type_hash_table(), create_dwo_cu_reader(), create_dwp_hash_table(), cross_ref(), cutu_reader::cutu_reader(), dbx_lookup_type(), debug_names::debug_str_lookup::debug_str_lookup(), decode_base_type(), decode_frame_entry(), decode_locdesc(), decode_type(), attribute::defaulted(), define_symbol(), demangled_name_complaint(), determine_prefix(), dtrace_process_dof(), dw2_expand_marked_cus(), dw2_symtab_iter_next(), dwarf2_access_attribute(), dwarf2_add_member_fn(), dwarf2_attach_fields_to_type(), dwarf2_complex_location_expr_complaint(), dwarf2_compute_name(), dwarf2_const_value_attr(), dwarf2_const_value_length_mismatch_complaint(), dwarf2_debug_line_missing_end_sequence_complaint(), dwarf2_debug_line_missing_file_complaint(), dwarf2_fetch_constant_bytes(), dwarf2_frame_cache(), dwarf2_invalid_attrib_class_complaint(), dwarf2_macro_malformed_definition_complaint(), dwarf2_physname(), dwarf2_ranges_process(), dwarf2_restore_rule(), dwarf2_rnglists_process(), dwarf2_statement_list_fits_in_line_number_section_complaint(), dwarf2_string_attr(), dwarf2_symbol_mark_computed(), dwarf_decode_line_header(), dwarf_decode_line_header(), dwarf_decode_lines_1(), dwarf_decode_macro_bytes(), dwarf_decode_macros(), dwarf_parse_macro_header(), dwarf_reg_to_regnum(), eb_complaint(), ef_complaint(), buildsym_compunit::end_compunit_symtab_get_static_block(), enter_line_range(), enter_linenos(), error_type(), execute_cfa_program(), filter_overlapping_sections(), dw2_debug_names_iterator::find_vec_in_debug_names(), dw2_debug_names_iterator::find_vec_in_debug_names(), buildsym_compunit::finish_block_internal(), finish_fixed_point_type(), fixup_go_packaging(), function_outside_compilation_unit_complaint(), function_outside_compilation_unit_complaint(), function_outside_compilation_unit_complaint(), get_alignment(), get_DW_AT_signature_type(), get_dwarf2_rational_constant(), get_dwarf2_unsigned_rational_constant(), dtrace_static_probe_ops::get_probes(), stap_static_probe_ops::get_probes(), attribute::get_ref_die_offset_complaint(), get_signatured_type(), get_stap_base_address(), die_info::gnu_ranges_base(), handle_member_location(), handle_stap_probe(), handle_variant(), handle_variant_part(), index_complaint(), cooked_indexer::index_dies(), info_selectors_command(), inherit_abstract_dies(), invalid_cpp_abbrev_complaint(), is_valid_DW_AT_calling_convention_for_subroutine(), is_valid_DW_AT_calling_convention_for_type(), lbrac_mismatch_complaint(), lookup_child_selector(), lookup_die_type(), lookup_objc_class(), macho_add_oso_symfile(), macho_symtab_read(), macro_include(), macro_start_file(), macro_undef(), buildsym_compunit::make_blockvector(), maybe_set_alignment(), mdebug_expand_psymtab(), new_symbol(), dw2_debug_names_iterator::next(), dwarf2_section_info::overflow_complaint(), parse_lines(), parse_partial_symbols(), parse_procedure(), parse_symbol(), parse_type(), process_die(), process_one_symbol(), process_structure_scope(), process_xcoff_symbol(), quirk_rust_enum(), read_alias(), read_args(), read_array_type(), read_attribute_value(), read_base_type(), read_baseclasses(), read_call_site_scope(), read_checked_initial_length_and_offset(), read_common_block(), read_comp_units_from_section(), read_cpp_abbrev(), read_dbx_symtab(), read_decl_line(), read_dwo_str_index(), read_file_scope(), read_formatted_entries(), read_func_scope(), read_import_statement(), read_member_functions(), read_range_type(), read_subrange_type(), read_symbol(), read_tag_pointer_type(), read_tilde_fields(), read_type(), read_type_die_1(), read_typedef(), read_xcoff_symtab(), record_include_begin(), record_include_end(), reg_value_complaint(), reg_value_complaint(), repeated_header_complaint(), die_info::rnglists_base(), rs6000_builtin_type(), sal_macro_scope(), scan_file_globals(), scan_xcoff_symtab(), set_die_type(), set_namestring(), skip_form_bytes(), skip_one_die(), skip_unknown_opcode(), stabs_general_complaint(), stabs_method_name_from_physname(), stub_noname_complaint(), unexpected_type_code_complaint(), unknown_ext_complaint(), unknown_symtype_complaint(), upgrade_type(), and xcoff_next_symbol_text().

Function Documentation

◆ clear_complaints()

void clear_complaints ( )
extern

Definition at line 74 of file complaints.c.

References counters.

Referenced by finish_new_objfile(), reread_symbols(), and syms_from_objfile_1().

◆ complaint_internal()

void complaint_internal ( const char * fmt,
... )
extern

◆ have_complaint()

static bool have_complaint ( )
inlinestatic

Definition at line 38 of file complaints.h.

References stop_whining.

Referenced by read_func_scope().

Variable Documentation

◆ stop_whining

void int stop_whining
extern

Definition at line 36 of file complaints.c.

Referenced by complaint_internal(), and have_complaint().