diff options
author | 2017-05-02 18:56:29 +0200 | |
---|---|---|
committer | 2017-05-03 10:56:26 +0200 | |
commit | d7273274861801353a35ce0f4f5b70266e5cd6a7 (patch) | |
tree | 2a077ec012eac13c5c2b52dc61cf8c7dfba587ac /site | |
parent | e788964a6ebc2c4966456ac74044f4f44a126fe5 (diff) |
Clarify the meaning of the two symbol counts that Gold outputs for
--print-symbol-counts.
PiperOrigin-RevId: 154843561
Diffstat (limited to 'site')
-rw-r--r-- | site/versions/master/docs/bazel-user-manual.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/site/versions/master/docs/bazel-user-manual.html b/site/versions/master/docs/bazel-user-manual.html index d43c3f8259..782f5ef7b9 100644 --- a/site/versions/master/docs/bazel-user-manual.html +++ b/site/versions/master/docs/bazel-user-manual.html @@ -1372,11 +1372,12 @@ $ bazel fetch //... <h4 id='flag--output_symbol_counts'><code class='flag'>--[no]output_symbol_counts</code></h4> <p> - If enabled, each gold-invoked link of a C++ executable binary will also output + If enabled, each gold-invoked link of a C++ executable binary will output a <i>symbol counts</i> file (via the <code>--print-symbol-counts</code> gold - option) that logs the number of symbols from each .o input that were used in - the binary. This can be used to track unnecessary link dependencies. The - symbol counts file is written to the binary's output path with the name + option). For each linker input, the file logs the number of symbols that were + defined and the number of symbols that were used in the binary. + This information can be used to track unnecessary link dependencies. + The symbol counts file is written to the binary's output path with the name <code>[targetname].sc</code>. </p> <p> |