aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@gcc.gnu.org>2015-12-18 19:48:26 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2015-12-18 19:48:26 +0000
commit266cc0c181549c2fb6b50f8f26213cdc89101026 (patch)
tree60dfb0a379b7133351f26884d9d41d0a0b5376ec /gcc/dwarf2out.c
parentb623391ccae3c8d2e60f088c141944466c812676 (diff)
downloadgcc-266cc0c181549c2fb6b50f8f26213cdc89101026.zip
gcc-266cc0c181549c2fb6b50f8f26213cdc89101026.tar.gz
gcc-266cc0c181549c2fb6b50f8f26213cdc89101026.tar.bz2
Ignore -fdebug-prefix-map in producer string (by Daniel Kahn Gillmor)
* dwarf2out.c (gen_producer_string): Ignore -fdebug-prefix-map. testsuite/ * gcc.dg/debug/dwarf2/prod-options.c: New test. From-SVN: r231835
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 067c4f2..320a077 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -21498,6 +21498,7 @@ gen_producer_string (void)
case OPT_fpreprocessed:
case OPT_fltrans_output_list_:
case OPT_fresolution_:
+ case OPT_fdebug_prefix_map_:
/* Ignore these. */
continue;
default: