commit | e1dc92a6037a3f81ea1b8ea8fb6207af33505f0c | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Thu Oct 18 16:15:45 2018 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Fri Oct 19 19:43:09 2018 +0000 |
tree | 03211c5a156e6b30f3e9c8663153b7fd2450992c | |
parent | 6f4bce815786ff3803741355f7f280e4e2c89668 [diff] |
compiler: don't export any functions with special names This keeps init functions from appearing in the export data. Checking for special names in general means that we don't need to check specifically for nested functions or thunks, which have special names. Change-Id: I70dc56e678f0c1ae48fb8e095e82231efa5d7355 Reviewed-on: https://go-review.googlesource.com/c/143237 Reviewed-by: Than McIntosh <thanm@google.com>