commit | 1f07926263b6d14edb6abd6a00e6385190d30d0e | [log] [tgz] |
---|---|---|
author | Than McIntosh <thanm@google.com> | Wed Jun 06 13:49:32 2018 -0400 |
committer | Ian Lance Taylor <iant@golang.org> | Wed Jun 13 17:23:36 2018 +0000 |
tree | 54dc3e96335b959fb32753e0486078b13bfc29b7 | |
parent | 6743db0ed81e313acf66c00a4ed0e2dcaaca2c9f [diff] |
compiler: include global variable preinit blocks in ast dumps Dump out the blocks corresponding to variable pre-inits when -fgo-dump-ast is in effect. Each preinit block is prefixed with a comment indicating the variable it is initializing. Change-Id: Id507920c566fab28ee07bc55b89d5c4cb788441d Reviewed-on: https://go-review.googlesource.com/118636 Reviewed-by: Ian Lance Taylor <iant@golang.org>