diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-29 15:01:30 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-29 15:01:30 +0000 |
commit | ddec7b2090c3c1f7ccdae7a0edf4c11d830b506f (patch) | |
tree | c8920e6220c6f7e7e5f1a53d0fabe0fa101e6731 /include | |
parent | 3764e8b2345c9bdf552f2b67061ba23331701956 (diff) | |
download | gcc-ddec7b2090c3c1f7ccdae7a0edf4c11d830b506f.tar.gz |
Add DW_LANG_Rust
include/
* dwarf2.h (enum dwarf_source_language) <DW_LANG_Rust,
DW_LANG_Rust_old>: New constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235643 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/dwarf2.h | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 92f4090d413..f82f7974aa8 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2016-04-29 Tom Tromey <tom@tromey.com> + + * dwarf2.h (enum dwarf_source_language) <DW_LANG_Rust, + DW_LANG_Rust_old>: New constants. + 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org> * longlong.h (umul_ppmm): Remove SHMEDIA checks. diff --git a/include/dwarf2.h b/include/dwarf2.h index 4ada87162fa..1a145aa48f7 100644 --- a/include/dwarf2.h +++ b/include/dwarf2.h @@ -1,6 +1,6 @@ /* Declarations and definitions of codes relating to the DWARF2 and DWARF3 symbolic debugging information formats. - Copyright (C) 1992-2015 Free Software Foundation, Inc. + Copyright (C) 1992-2016 Free Software Foundation, Inc. Written by Gary Funck (gary@intrepid.com) The Ada Joint Program Office (AJPO), Florida State University and Silicon Graphics Inc. @@ -308,6 +308,7 @@ enum dwarf_source_language DW_LANG_Go = 0x0016, DW_LANG_C_plus_plus_11 = 0x001a, /* dwarf5.20141029.pdf DRAFT */ + DW_LANG_Rust = 0x001c, DW_LANG_C11 = 0x001d, DW_LANG_C_plus_plus_14 = 0x0021, DW_LANG_Fortran03 = 0x0022, @@ -325,7 +326,10 @@ enum dwarf_source_language DW_LANG_HP_Basic91 = 0x8004, DW_LANG_HP_Pascal91 = 0x8005, DW_LANG_HP_IMacro = 0x8006, - DW_LANG_HP_Assembler = 0x8007 + DW_LANG_HP_Assembler = 0x8007, + + /* Rust extension, but replaced in DWARF 5. */ + DW_LANG_Rust_old = 0x9000 }; /* Names and codes for macro information. */ |