Add some usage info -fdebug-prefix-map= docs.

gcc/
	* doc/invoke.texi (-fdebug-prefix-map): Expand documentation.

From-SVN: r254121
This commit is contained in:
James E Wilson 2017-10-26 13:41:20 -07:00 committed by Jim Wilson
parent 8a866b8296
commit 1cf6c17b6d
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-10-26 Jim Wilson <wilson@tuliptree.org>
* doc/invoke.texi (-fdebug-prefix-map): Expand documentation.
2017-10-26 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/82707

View File

@ -6982,7 +6982,12 @@ link processing time. Merging is enabled by default.
@item -fdebug-prefix-map=@var{old}=@var{new}
@opindex fdebug-prefix-map
When compiling files in directory @file{@var{old}}, record debugging
information describing them as in @file{@var{new}} instead.
information describing them as in @file{@var{new}} instead. This can be
used to replace a build time path with an install time path in the debug info.
It can also be used to change an absolute path to a relative path by using
@file{.} for @var{new}. This can give more reproducible builds, which are
location independent, but may require an extra command to tell GDB where to
find the source files.
@item -fvar-tracking
@opindex fvar-tracking