1 Aug 2012 07:35
[PATCH] Combine location with block using block_locations
Dehao Chen <dehao <at> google.com>
2012-08-01 05:35:20 GMT
2012-08-01 05:35:20 GMT
Hi, This patch: * Integrates location with block into an integrated index. * Removes gimple->gsbase.block and tree->exp.block fields. * Updates inline/clone as well as tree liveness analysis to ensure the associated blocks are updated correctly. With this patch, the association between source location and its block are greatly enhanced, which produces much better inline stack in the debug info. Bootstrapped and regression tested on x86. OK for trunk? Thanks, Dehao You can also find the patch in http://codereview.appspot.com/6454077 gcc/ChangeLog 2012-08-01 Dehao Chen <dehao <at> google.com> * toplev.c (general_init): Init block_locations. * tree.c (tree_set_block): New. (tree_block): Change to use LOCATION_BLOCK. * tree.h (TREE_SET_BLOCK): New. * final.c (reemit_insn_block_notes): Change to use LOCATION_BLOCK.(Continue reading)
RSS Feed