GCC Middle and Back End API Reference
|
Functions | |
void | emit_indent (FILE *outfile, int indent) |
void | emit_heading (FILE *outfile, int indent, const char *text) |
void | emit_string_field (FILE *outfile, int indent, const char *label, const char *value) |
void | emit_bool_field (FILE *outfile, int indent, const char *label, bool value) |
void | emit_size_t_field (FILE *outfile, int indent, const char *label, size_t value) |
void | emit_int_field (FILE *outfile, int indent, const char *label, int value) |
void | emit_unsigned_field (FILE *outfile, int indent, const char *label, unsigned value) |
void | emit_none (FILE *outfile, int indent) |
void diagnostics::dumping::emit_bool_field | ( | FILE * | outfile, |
int | indent, | ||
const char * | label, | ||
bool | value ) |
References emit_string_field().
Referenced by diagnostics::file_cache_slot::dump().
void diagnostics::dumping::emit_heading | ( | FILE * | outfile, |
int | indent, | ||
const char * | text ) |
Emit an indented line to OUTFILE showing a heading.
References emit_indent().
Referenced by diagnostics::buffer::dump(), diagnostics::context::dump(), diagnostics::counters::dump(), diagnostics::html_builder::dump(), diagnostics::html_sink::dump(), diagnostics::html_sink_buffer::dump(), diagnostics::sarif_builder::dump(), diagnostics::sarif_sink::dump(), diagnostics::sarif_sink_buffer::dump(), diagnostics::sink::dump(), diagnostics::text_sink::dump(), and diagnostics::text_sink_buffer::dump().
void diagnostics::dumping::emit_indent | ( | FILE * | outfile, |
int | indent ) |
Emit indentation to OUTFILE for the start of a dump line.
Referenced by diagnostics::context::dump(), diagnostics::counters::dump(), diagnostics::file_cache::dump(), diagnostics::file_cache_slot::dump(), diagnostics::html_sink_buffer::dump(), diagnostics::sarif_serialization_format_json::dump(), diagnostics::sarif_sink_buffer::dump(), pp_formatted_chunks::dump(), emit_heading(), emit_int_field(), emit_none(), emit_size_t_field(), emit_string_field(), and emit_unsigned_field().
void diagnostics::dumping::emit_int_field | ( | FILE * | outfile, |
int | indent, | ||
const char * | label, | ||
int | value ) |
References emit_indent().
void diagnostics::dumping::emit_none | ( | FILE * | outfile, |
int | indent ) |
Emit an indented line to OUTFILE reading "(none)".
References emit_indent().
Referenced by diagnostics::buffer::dump(), diagnostics::context::dump(), diagnostics::counters::dump(), and diagnostics::text_sink::dump().
void diagnostics::dumping::emit_size_t_field | ( | FILE * | outfile, |
int | indent, | ||
const char * | label, | ||
size_t | value ) |
References emit_indent(), and HOST_SIZE_T_PRINT_DEC.
Referenced by diagnostics::file_cache_slot::dump().
void diagnostics::dumping::emit_string_field | ( | FILE * | outfile, |
int | indent, | ||
const char * | label, | ||
const char * | value ) |
Various functions that emit an indented line to OUTFILE showing "label: value".
References emit_indent().
Referenced by diagnostics::file_cache_slot::dump(), diagnostics::sarif_generation_options::dump(), and emit_bool_field().
void diagnostics::dumping::emit_unsigned_field | ( | FILE * | outfile, |
int | indent, | ||
const char * | label, | ||
unsigned | value ) |
References emit_indent().
Referenced by diagnostics::file_cache_slot::dump().