aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-05-13 08:27:29 -0700
committerRichard Biener <rguenther@suse.de>2020-07-29 15:35:43 +0200
commitc8d3f2b6d1d81535ac3b71fd8dd1def12f8d03b3 (patch)
tree9ca5f102e8391c4b0cc7098231a53525e185270b /gcc/doc
parentd6cd139c1728fd37a2b6b2251029458cc2b7127e (diff)
downloadgcc-c8d3f2b6d1d81535ac3b71fd8dd1def12f8d03b3.zip
gcc-c8d3f2b6d1d81535ac3b71fd8dd1def12f8d03b3.tar.gz
gcc-c8d3f2b6d1d81535ac3b71fd8dd1def12f8d03b3.tar.bz2
Don't make -gsplit-dwarf imply -g
-gsplit-dwarf introduces order dependency: it overrides previous -g0 and -g1. Don't imply -g so that it can be plugged into a build without worrying that unnecessary debugging information may be generated. 2020-05-13 Fangrui Song <maskray@google.com> PR debug/95096 * opts.c (common_handle_option): Don't make -gsplit-dwarf imply -g. * doc/invoke.texi (-gsplit-dwarf): Update documentation.
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 7c3cc14..eaaf6d0 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -9166,11 +9166,11 @@ except when selective scheduling is enabled.
@item -gsplit-dwarf
@opindex gsplit-dwarf
-Separate as much DWARF debugging information as possible into a
-separate output file with the extension @file{.dwo}. This option allows
-the build system to avoid linking files with debug information. To
-be useful, this option requires a debugger capable of reading @file{.dwo}
-files.
+If DWARF debugging information is enabled, separate as much debugging
+information as possible into a separate output file with the extension
+@file{.dwo}. This option allows the build system to avoid linking files with
+debug information. To be useful, this option requires a debugger capable of
+reading @file{.dwo} files.
@item -gdescribe-dies
@opindex gdescribe-dies