libFirm
dbginfo.h File Reference

Implements the Firm interface to debug information. More...

#include <stdlib.h>
#include "firm_types.h"
#include "ident.h"
#include "begin.h"
#include "end.h"

Go to the source code of this file.

Data Structures

struct  src_loc_t
 A sourcecode location. More...

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 src_loc_t(* retrieve_dbg_func )(dbg_info const *dbg)
 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.
src_loc_t ir_retrieve_dbg_info (dbg_info const *dbg)
 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.

Detailed Description

Implements the Firm interface to debug information.

Author
Goetz Lindenmaier, Michael Beck
Date
2001

Definition in file dbginfo.h.