X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Foo_program_example.c;h=0c2de25ac71ef976770498d11870d8a94cc26c5b;hb=95730664ee5ec63be34b1142222b6704300666f5;hp=ab3a4cc961cfdd832bad7ba99ea4f65c4dd42b52;hpb=76572961989e62cef01b295c6c8af7460f6080dd;p=libfirm diff --git a/testprograms/oo_program_example.c b/testprograms/oo_program_example.c index ab3a4cc96..0c2de25ac 100644 --- a/testprograms/oo_program_example.c +++ b/testprograms/oo_program_example.c @@ -244,9 +244,32 @@ main(void) } printf("Dumping graphs of all procedures and a type graph.\n"); + /* Touch ld names to distinguish names from oo_inline names. */ + get_entity_ld_ident(proc_set_a_e); + get_entity_ld_ident(proc_c_e); + + dump_consts_local(1); + turn_off_edge_labels(); + + dump_all_ir_graphs(dump_ir_graph); dump_all_ir_graphs(dump_ir_block_graph); + dump_all_ir_graphs(dump_ir_graph_w_types); dump_all_ir_graphs(dump_ir_block_graph_w_types); + dump_all_ir_graphs(dump_type_graph); dump_all_types(); + dump_class_hierarchy (true); + + entity **free_methods; + int arr_len; + cgana(&arr_len, &free_methods); + cg_construct(arr_len, free_methods); + + interprocedural_view = 1; + dump_ir_graph(main_irg); + dump_ir_block_graph(main_irg); + dump_ir_graph_w_types(main_irg); + dump_ir_block_graph_w_types(main_irg); + dump_all_cg_block_graph(); printf("Use xvcg to view these graphs:\n"); printf("/ben/goetz/bin/xvcg GRAPHNAME\n\n");