[llvm-commits] [llvm] r168218 - /llvm/trunk/include/llvm/Support/Dwarf.h

Eric Christopher echristo at gmail.com
Fri Nov 16 15:08:49 PST 2012


FWIW this is part of a much larger work in progress. I'm going to start
adding some infrastructure for dumping fission and then actually add
fission output and then the tests will end up testing the dumper and the
output.

Just before someone harasses me about testcases.

-eric


On Fri, Nov 16, 2012 at 3:04 PM, Eric Christopher <echristo at gmail.com>wrote:

> Author: echristo
> Date: Fri Nov 16 17:04:31 2012
> New Revision: 168218
>
> URL: http://llvm.org/viewvc/llvm-project?rev=168218&view=rev
> Log:
> Add constant definitions for fission dwarf attributes, forms, etc.
>
> Modified:
>     llvm/trunk/include/llvm/Support/Dwarf.h
>
> Modified: llvm/trunk/include/llvm/Support/Dwarf.h
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Dwarf.h?rev=168218&r1=168217&r2=168218&view=diff
>
> ==============================================================================
> --- llvm/trunk/include/llvm/Support/Dwarf.h (original)
> +++ llvm/trunk/include/llvm/Support/Dwarf.h Fri Nov 16 17:04:31 2012
> @@ -231,6 +231,10 @@
>    DW_AT_const_expr = 0x6c,
>    DW_AT_enum_class = 0x6d,
>    DW_AT_linkage_name = 0x6e,
> +
> +  DW_AT_lo_user = 0x2000,
> +  DW_AT_hi_user = 0x3fff,
> +
>    DW_AT_MIPS_loop_begin = 0x2002,
>    DW_AT_MIPS_tail_loop_begin = 0x2003,
>    DW_AT_MIPS_epilog_begin = 0x2004,
> @@ -246,6 +250,12 @@
>    DW_AT_MIPS_ptr_dopetype = 0x200e,
>    DW_AT_MIPS_allocatable_dopetype = 0x200f,
>    DW_AT_MIPS_assumed_shape_dopetype = 0x2010,
> +
> +  // This one appears to have only been implemented by Open64 for
> +  // fortran and may conflict with other extensions.
> +  DW_AT_MIPS_assumed_size = 0x2011,
> +
> +  // GNU extensions
>    DW_AT_sf_names = 0x2101,
>    DW_AT_src_info = 0x2102,
>    DW_AT_mac_info = 0x2103,
> @@ -254,9 +264,14 @@
>    DW_AT_body_end = 0x2106,
>    DW_AT_GNU_vector = 0x2107,
>    DW_AT_GNU_template_name = 0x2110,
> -  DW_AT_MIPS_assumed_size = 0x2011,
> -  DW_AT_lo_user = 0x2000,
> -  DW_AT_hi_user = 0x3fff,
> +
> +  // Extensions for Fission proposal.
> +  DW_AT_GNU_dwo_name = 0x2130,
> +  DW_AT_GNU_dwo_id = 0x2131,
> +  DW_AT_GNU_ranges_base = 0x2132,
> +  DW_AT_GNU_addr_base = 0x2133,
> +  DW_AT_GNU_pubnames = 0x2134,
> +  DW_AT_GNU_pubtypes = 0x2135,
>
>    // Apple extensions.
>    DW_AT_APPLE_optimized = 0x3fe1,
> @@ -300,6 +315,10 @@
>    DW_FORM_flag_present = 0x19,
>    DW_FORM_ref_sig8 = 0x20,
>
> +  // Extensions for Fission proposal
> +  DW_FORM_GNU_addr_index = 0x1f01,
> +  DW_FORM_GNU_str_index = 0x1f02,
> +
>    // Operation encodings
>    DW_OP_addr = 0x03,
>    DW_OP_deref = 0x06,
> @@ -458,6 +477,10 @@
>    DW_OP_lo_user = 0xe0,
>    DW_OP_hi_user = 0xff,
>
> +  // Extensions for Fission proposal.
> +  DW_OP_GNU_addr_index = 0xfb,
> +  DW_OP_GNU_const_index = 0xfc,
> +
>    // Encoding attribute values
>    DW_ATE_address = 0x01,
>    DW_ATE_boolean = 0x02,
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121116/f5570cc0/attachment.html>


More information about the llvm-commits mailing list