diff options
author | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-30 18:21:25 +0000 |
---|---|---|
committer | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-30 18:21:25 +0000 |
commit | f6a02c024f1deb1fbe6f7e000e38f00da09b9732 (patch) | |
tree | 1c0cb39ea3f0a4677edeced3c3d087b63030d18d /gcc/common.opt | |
parent | 4f662622a49969fa89e2aaddfbe088ce1456401f (diff) | |
download | gcc-f6a02c024f1deb1fbe6f7e000e38f00da09b9732.tar.gz |
Introduce -fno-debug-types-section flag.
* common.opt (fdebug-types-section): New flag.
* doc/invoke.texi: Document new -fno-debug-types-section flag.
* dwarf2out.c (use_debug_types): New define.
(struct die_struct): Mark die_id with GTY desc use_debug_types.
(print_die): Guard output of type unit signatures using
use_debug_types.
(build_abbrev_table): Replace assert of dwarf_version >= 4
with assert on use_debug_types.
(size_of_die): Likewise.
(unmark_dies): Likewise.
(value_format): Decide AT_ref_external form on use_debug_types.
(output_die): Replace dwarf_version version check guard with
use_debug_types where appropriate.
(modified_type_die): Likewise.
(gen_reference_type_die): Likewise.
(dwarf2out_start_source_file): Likewise.
(dwarf2out_end_source_file): Likewise.
(prune_unused_types_walk_attribs): Likewise.
(dwarf2out_finish): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171742 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 88ae1013719..213645cd97e 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1012,6 +1012,10 @@ 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 |