GCC Middle and Back End API Reference
|
Public Member Functions | |
source_info () | |
vector< function_info * > * | get_functions_at_location (unsigned line_num) const |
void | add_function (function_info *fn) |
void | debug () |
Data Fields | |
unsigned | index |
char * | name |
time_t | file_time |
vector< line_info > | lines |
coverage_info | coverage |
unsigned int | maximum_count |
vector< function_info * > | functions |
vector< vector< function_info * > * > | line_to_function_map |
Describes a file mentioned in the block graph. Contains an array of line info.
source_info::source_info | ( | ) |
void source_info::add_function | ( | function_info * | fn | ) |
Register a new function.
References functions, line_to_function_map, NULL, and function_info::start_line.
Referenced by process_all_functions().
void source_info::debug | ( | ) |
References function_info::blocks, line_info::count, functions, function_info::get_name(), lines, name, and PRId64.
Referenced by generate_results().
vector< function_info * > * source_info::get_functions_at_location | ( | unsigned | line_num | ) | const |
References line_to_function_map, and NULL.
Referenced by output_json_intermediate_file(), and output_lines().
coverage_info source_info::coverage |
Referenced by accumulate_line_counts(), accumulate_line_info(), find_source(), generate_results(), output_gcov_file(), and output_lines().
time_t source_info::file_time |
Referenced by find_source(), and slurp().
vector<function_info *> source_info::functions |
Referenced by accumulate_line_counts(), add_function(), debug(), and output_json_intermediate_file().
unsigned source_info::index |
Referenced by accumulate_line_counts(), find_source(), and slurp().
vector<vector<function_info *> *> source_info::line_to_function_map |
Referenced by add_function(), and get_functions_at_location().
vector<line_info> source_info::lines |
Referenced by accumulate_line_counts(), debug(), output_json_intermediate_file(), output_lines(), and process_all_functions().
unsigned int source_info::maximum_count |
Referenced by accumulate_line_info(), and output_lines().
char* source_info::name |
Referenced by debug(), find_source(), output_json_intermediate_file(), and slurp().