libFirm 1.20
|
Implements the Firm interface to debug information. More...
Go to the source code of this file.
Typedefs | |
typedef void | merge_pair_func (ir_node *new_node, ir_node *old_node, dbg_action action) |
The type of the debug info merge function. | |
typedef void | merge_sets_func (ir_node **new_node_array, int new_num_entries, ir_node **old_node_array, int old_num_entries, dbg_action action) |
The type of the debug info merge sets function. | |
typedef const char *(* | retrieve_dbg_func )(const dbg_info *dbg, unsigned *line) |
The type of the debug info retriever function. | |
typedef void(* | retrieve_type_dbg_func )(char *buffer, size_t buffer_size, const type_dbg_info *tdbgi) |
The type of the type debug info retrieve function. | |
Enumerations | |
enum | dbg_action { dbg_error = 0, dbg_opt_ssa, dbg_opt_auxnode, dbg_const_eval, dbg_opt_cse, dbg_straightening, dbg_if_simplification, dbg_algebraic_simplification, dbg_write_after_write, dbg_write_after_read, dbg_read_after_write, dbg_read_after_read, dbg_read_a_const, dbg_rem_poly_call, dbg_dead_code, dbg_opt_confirm, dbg_gvn_pre, dbg_combo, dbg_jumpthreading, dbg_backend, dbg_max } |
An enumeration indicating the action performed by a transformation. More... | |
Functions | |
const char * | dbg_action_2_str (dbg_action a) |
Converts a debug_action into a string. | |
void | dbg_init (merge_pair_func *dbg_info_merge_pair, merge_sets_func *dbg_info_merge_sets) |
Initializes the debug support. | |
void | ir_set_debug_retrieve (retrieve_dbg_func func) |
Sets a debug info retriever. | |
void | ir_set_type_debug_retrieve (retrieve_type_dbg_func func) |
Sets global print_type_dbg_info function in firm. | |
const char * | ir_retrieve_dbg_info (const dbg_info *dbg, unsigned *line) |
Retrieve the debug info. | |
void | ir_retrieve_type_dbg_info (char *buffer, size_t buffer_size, const type_dbg_info *tdbgi) |
Retrieve type debug info. |