Re: [PATCH 15/22] Add plugin to recursively dump the source-ranges in a tree

2015-09-10 Thread Martin Sebor
On 09/10/2015 02:28 PM, David Malcolm wrote: This patch adds a test plugin that recurses down an expression tree, printing diagnostics showing the ranges of each node in the tree. Screenshot: https://dmalcolm.fedorapeople.org/gcc/2015-09-09/show-trees.html This needs a linker hack, since it's

[PATCH 15/22] Add plugin to recursively dump the source-ranges in a tree

2015-09-10 Thread David Malcolm
This patch adds a test plugin that recurses down an expression tree, printing diagnostics showing the ranges of each node in the tree. Screenshot: https://dmalcolm.fedorapeople.org/gcc/2015-09-09/show-trees.html This needs a linker hack, since it's the only user of gcc_rich_location::add_expr