diff options
author | Than McIntosh <thanm@google.com> | 2016-09-27 20:49:05 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-09-27 20:49:05 +0000 |
commit | 437018ea2b6dc966ce40cd5dd684054126ddda6b (patch) | |
tree | 10cc817706743a8a7bea457f727d3ab9ee181ab8 /gcc/genrecog.c | |
parent | 6e39060a7f6f58dacf4e74762fd5dd85a5afb0d8 (diff) | |
download | gcc-437018ea2b6dc966ce40cd5dd684054126ddda6b.zip gcc-437018ea2b6dc966ce40cd5dd684054126ddda6b.tar.gz gcc-437018ea2b6dc966ce40cd5dd684054126ddda6b.tar.bz2 |
compiler: add src information to AST dumps (part 1 of 2).
When emitting AST dumps, tag the end of selected statements with with
source file and line number information where available. Example:
tmp.76832448 = 0 // p.go:6
Requires a corresponding change in gcc/go as well as this change to
gofrontend.
Reviewed-on: https://go-review.googlesource.com/29856
* go-linemap.cc (Gcc_linemap::to_string): New method.
From-SVN: r240558
Diffstat (limited to 'gcc/genrecog.c')
0 files changed, 0 insertions, 0 deletions