summaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorsterling <sterling@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-22 19:01:26 +0000
committersterling <sterling@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-22 19:01:26 +0000
commitea096d3dd3fd4f5fb3a2389dde7789250115dc02 (patch)
treeceef264b6494cfe1fff48bbe4839ccf4a9d0693c /gcc/common.opt
parent87f4db2070e1007ce1f73ea3221687ee4af388e4 (diff)
downloadgcc-ea096d3dd3fd4f5fb3a2389dde7789250115dc02.tar.gz
Add new option -ggnu-pubnames.
2013-10-22 Sterling Augustine <saugustine@google.com> * doc/invoke.texi: Document -ggnu-pubnames. * common.opt: Add new option -ggnu-pubnames and modify -gpubnames logic. * dwarf2out.c: Include gdb/gdb-index.h. (DEBUG_PUBNAMES_SECTION, DEBUG_PUBTYPES_SECTION): Handle debug_generate_pub_sections. (is_java, output_pubtables, output_pubname): New functions. (include_pubname_in_output): Handle debug_generate_pub_sections at level 2. (size_of_pubnames): Use new local space_for_flags based on debug_generate_pub_sections. (output_pubnames): Unify pubnames and pubtypes output logic. Genericize comments. Call output_pubname. (dwarf2out_finish): Move logic to output_pubnames and call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203936 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 1f11fcd4d5d..deeb3f20a3b 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -2412,13 +2412,17 @@ Common JoinedOrMissing
Generate debug information in default extended format
gno-pubnames
-Common RejectNegative Var(debug_generate_pub_sections, 0) Init(-1)
+Common Negative(gpubnames) Var(debug_generate_pub_sections, 0) Init(-1)
Don't generate DWARF pubnames and pubtypes sections.
gpubnames
-Common RejectNegative Var(debug_generate_pub_sections, 1)
+Common Negative(ggnu-pubnames) Var(debug_generate_pub_sections, 1)
Generate DWARF pubnames and pubtypes sections.
+ggnu-pubnames
+Common Negative(gno-pubnames) Var(debug_generate_pub_sections, 2)
+Generate DWARF pubnames and pubtypes sections with GNU extensions.
+
gno-record-gcc-switches
Common RejectNegative Var(dwarf_record_gcc_switches,0) Init(1)
Don't record gcc command line switches in DWARF DW_AT_producer.