commit | c365ba654b1b733dc2aaa3fc6b54078ae4ef7dbb | [log] [tgz] |
---|---|---|
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | Wed Feb 15 23:13:58 2017 +0100 |
committer | Christopher Li <sparse@chrisli.org> | Thu Feb 16 10:23:59 2017 +0800 |
tree | 63251ce1fa07bec92350c196fb79ce67e15d1de4 | |
parent | d3b8edaee2896769cc415e7b89632cd648985ad8 [diff] |
fix show-parse()'s labels show_statement() sometimes displays BBs as "L0x0" because it uses the symbol::bb_target field which is never set when show_statement() is usefull (before or during linearization). Fix this by using the address of the underlaying symbol like done when displaying others BBs (for example for the label at the beginning of a BB). Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Christopher Li <sparse@chrisli.org>