diff mbox

PATCH RFC: Define DW_LANG_Go in dwarf2.h

Message ID mcrmxpog578.fsf@google.com
State New
Headers show

Commit Message

Ian Lance Taylor Nov. 4, 2010, 9:16 p.m. UTC
This patch defines DW_LANG_Go in include/dwarf2.h.  This was filed as
a DWARF standard issue:

http://dwarfstd.org/ShowIssue.php?issue=101014.1&type=open

I was told informally that it should be OK to start using the value
immediately.

Bootstrapped on x86_64-unknown-linux-gnu.  I plan to commit this as
obvious tomorrow unless somebody objects.

(In case anybody is curious, 0x15 will be DW_LANG_OpenCL.)

Ian


2010-11-04  Ian Lance Taylor  <iant@google.com>

	* dwarf2.h (enum dwarf_source_language): Add DW_LANG_Go.

Comments

Michael Eager Nov. 5, 2010, 12:51 a.m. UTC | #1
Ian Lance Taylor wrote:
> This patch defines DW_LANG_Go in include/dwarf2.h.  This was filed as
> a DWARF standard issue:
> 
> http://dwarfstd.org/ShowIssue.php?issue=101014.1&type=open
> 
> I was told informally that it should be OK to start using the value
> immediately.
> 
> Bootstrapped on x86_64-unknown-linux-gnu.  I plan to commit this as
> obvious tomorrow unless somebody objects.
> 
> (In case anybody is curious, 0x15 will be DW_LANG_OpenCL.)
> 
> Ian
> 
> 
> 2010-11-04  Ian Lance Taylor  <iant@google.com>
> 
> 	* dwarf2.h (enum dwarf_source_language): Add DW_LANG_Go.

OK with me (and the DWARF Committee).
diff mbox

Patch

Index: dwarf2.h
===================================================================
--- dwarf2.h	(revision 166300)
+++ dwarf2.h	(working copy)
@@ -894,6 +894,8 @@  enum dwarf_source_language
     DW_LANG_D = 0x0013,
     /* DWARF 4.  */
     DW_LANG_Python = 0x0014,
+    /* DWARF 5.  */
+    DW_LANG_Go = 0x0016,
 
     DW_LANG_lo_user = 0x8000,	/* Implementation-defined range start.  */
     DW_LANG_hi_user = 0xffff,	/* Implementation-defined range start.  */