From: Jakub Jelinek Date: Thu, 31 Mar 2011 08:50:03 +0000 (+0200) Subject: common.opt (fdebug-types-section): Move earlier. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76f9db36d5c7294658e55432044254591a9b88f6;p=gcc.git common.opt (fdebug-types-section): Move earlier. * common.opt (fdebug-types-section): Move earlier. * doc/invoke.texi: Fix up -fno-debug-types-section documentation. From-SVN: r171773 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6efcee83cf5..8384f355dd2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-03-31 Jakub Jelinek + + * common.opt (fdebug-types-section): Move earlier. + * doc/invoke.texi: Fix up -fno-debug-types-section documentation. + 2011-03-31 Andreas Tobler * config/rs6000/rs6000.c (rs6000_handle_option): Remove unused isel diff --git a/gcc/common.opt b/gcc/common.opt index 213645cd97e..e6ac6403f92 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -918,6 +918,10 @@ fdebug-prefix-map= Common Joined RejectNegative Var(common_deferred_options) Defer Map one directory name to another in debug information +fdebug-types-section +Common Report Var(flag_debug_types_section) Init(1) +Output .debug_types section when using DWARF v4 debuginfo. + ; Nonzero for -fdefer-pop: don't pop args after each function call ; instead save them up to pop many calls' args with one insns. fdefer-pop @@ -1012,10 +1016,6 @@ femit-class-debug-always Common Report Var(flag_emit_class_debug_always) Init(0) Do not suppress C++ class debug information. -fdebug-types-section -Common Report Var(flag_debug_types_section) Init(1) -Output .debug_types section when using DWARF v4 debuginfo. - fexceptions Common Report Var(flag_exceptions) Optimization Enable exception handling diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 8507ea87416..3a10ec4c8a9 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -312,7 +312,7 @@ Objective-C and Objective-C++ Dialects}. -fdump-final-insns=@var{file} @gol -fcompare-debug@r{[}=@var{opts}@r{]} -fcompare-debug-second @gol -feliminate-dwarf2-dups -feliminate-unused-debug-types @gol --feliminate-unused-debug-symbols -femit-class-debug-always +-feliminate-unused-debug-symbols -femit-class-debug-always @gol -fdebug-types-section @gol -fmem-report -fpre-ipa-mem-report -fpost-ipa-mem-report -fprofile-arcs @gol -frandom-seed=@var{string} -fsched-verbose=@var{n} @gol @@ -4587,13 +4587,13 @@ option will increase the size of debugging information by as much as a factor of two. @item -fno-debug-types-section -@opindex fno-types-section -@opindex ftypes-section -By default when using Dwarf v4 or higher type DIEs will be put into +@opindex fno-debug-types-section +@opindex fdebug-types-section +By default when using DWARF v4 or higher type DIEs will be put into their own .debug_types section instead of making them part of the .debug_info section. It is more efficient to put them in a separate comdat sections since the linker will then be able to remove duplicates. -But not all dwarf consumers support .debug_types sections yet. +But not all DWARF consumers support .debug_types sections yet. @item -gstabs+ @opindex gstabs+