I'd like to add these new DW_AT and DW_FORM codes for the Fission project: http://gcc.gnu.org/wiki/DebugFission
We're currently working on the Fission implementation in GCC, gold, and binutils, but I'd like to at least lay claim to the actual values to prevent overlap with any other extensions that someone might start working on. In GCC, we're working on the (git-only) google/debugfission branch. We'll be sending gold and binutils patches soon. Any objections? Is this OK for trunk in binutils and gcc trees? -cary * include/dwarf2.h (enum dwarf_form): Add Fission extensions. (enum dwarf_attribute): Likewise. commit 269b973ca77ee01fec83a7bad204eecde73ca9c1 Author: Cary Coutant <ccout...@google.com> Date: Sat Nov 5 01:17:06 2011 -0700 Add new DW_AT and DW_FORM codes for Fission. diff --git a/include/dwarf2.h b/include/dwarf2.h index 37cb83f..69656e6 100644 --- a/include/dwarf2.h +++ b/include/dwarf2.h @@ -188,7 +188,11 @@ enum dwarf_form DW_FORM_sec_offset = 0x17, DW_FORM_exprloc = 0x18, DW_FORM_flag_present = 0x19, - DW_FORM_ref_sig8 = 0x20 + DW_FORM_ref_sig8 = 0x20, + /* Extensions for Fission. See http://gcc.gnu.org/wiki/DebugFission. */ + DW_FORM_GNU_ref_index = 0x70, + DW_FORM_GNU_addr_index = 0x71, + DW_FORM_GNU_str_index = 0x72 }; /* Attribute names and codes. */ @@ -368,6 +372,13 @@ enum dwarf_attribute DW_AT_GNU_all_source_call_sites = 0x2118, /* Section offset into .debug_macro section. */ DW_AT_GNU_macros = 0x2119, + /* Extensions for Fission. See http://gcc.gnu.org/wiki/DebugFission. */ + DW_AT_GNU_dwo_name = 0x2130, + DW_AT_GNU_dwo_id = 0x2131, + DW_AT_GNU_ref_base = 0x2132, + DW_AT_GNU_addr_base = 0x2133, + DW_AT_GNU_pubnames = 0x2134, + DW_AT_GNU_pubtypes = 0x2135, /* VMS extensions. */ DW_AT_VMS_rtnbeg_pd_address = 0x2201, /* GNAT extensions. */