X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbe_dbgout.h;h=aad967b4c65b3024741aecb83588cca7e841c9b9;hb=b9d45e08e23bcf058fa8f2d9e18dd78e8cccd044;hp=c2c179d4f211a739aa3780109749c8337623fa26;hpb=60dc045e7978b16a7ca18a790c5a8517016e2bbe;p=libfirm diff --git a/ir/be/be_dbgout.h b/ir/be/be_dbgout.h index c2c179d4f..aad967b4c 100644 --- a/ir/be/be_dbgout.h +++ b/ir/be/be_dbgout.h @@ -25,8 +25,11 @@ typedef struct debug_ops { /** Main Program */ void (*main_program)(dbg_handle *handle); - /** dumps the stabs for a function */ - void (*method)(dbg_handle *handle, entity *ent, const be_stack_layout_t *layout); + /** dumps the stabs for a method begin */ + void (*method_begin)(dbg_handle *handle, entity *ent, const be_stack_layout_t *layout); + + /** dumps the stabs for a method end */ + void (*method_end)(dbg_handle *handle); /** dumps a line number */ void (*line)(dbg_handle *handle, unsigned lineno, const char *address); @@ -34,8 +37,8 @@ typedef struct debug_ops { /** dump types */ void (*types)(dbg_handle *handle); - /** dump a global */ - void (*global)(dbg_handle *h, struct obstack *obst, entity *ent); + /** dump a variable in the global type */ + void (*variable)(dbg_handle *h, struct obstack *obst, entity *ent); } debug_ops; @@ -53,8 +56,11 @@ void be_dbg_so(dbg_handle *handle, const char *filename); /** Main program */ void be_dbg_main_program(dbg_handle *handle); -/** debug for a function */ -void be_dbg_method(dbg_handle *handle, entity *ent, const be_stack_layout_t *layout); +/** debug for a method begin */ +void be_dbg_method_begin(dbg_handle *handle, entity *ent, const be_stack_layout_t *layout); + +/** debug for a method end */ +void be_dbg_method_end(dbg_handle *handle); /** debug for line number */ void be_dbg_line(dbg_handle *handle, unsigned lineno, const char *address); @@ -62,8 +68,11 @@ void be_dbg_line(dbg_handle *handle, unsigned lineno, const char *address); /** dump types */ void be_dbg_types(dbg_handle *handle); -/** dump a global */ -void be_dbg_global(dbg_handle *handle, struct obstack *obst, entity *ent); +/** dump a variable in the global type */ +void be_dbg_variable(dbg_handle *handle, struct obstack *obst, entity *ent); + +/** Opens the NULL handler: no debug support. */ +dbg_handle *be_nulldbg_open(void); /** Opens a stabs handler. */ dbg_handle *be_stabs_open(FILE *out);