Add DW_LANG_* definitions from DWARF 4 and 5.
Reviewed by: emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D15712
This commit is contained in:
parent
c11862c030
commit
4a0f8b339e
@ -523,6 +523,24 @@
|
||||
#define DW_LANG_ObjC_plus_plus 0x0011
|
||||
#define DW_LANG_UPC 0x0012
|
||||
#define DW_LANG_D 0x0013
|
||||
#define DW_LANG_Python 0x0014
|
||||
#define DW_LANG_OpenCL 0x0015
|
||||
#define DW_LANG_Go 0x0016
|
||||
#define DW_LANG_Modula3 0x0017
|
||||
#define DW_LANG_Haskell 0x0018
|
||||
#define DW_LANG_C_plus_plus_03 0x0019
|
||||
#define DW_LANG_C_plus_plus_11 0x001a
|
||||
#define DW_LANG_OCaml 0x001b
|
||||
#define DW_LANG_Rust 0x001c
|
||||
#define DW_LANG_C11 0x001d
|
||||
#define DW_LANG_Swift 0x001e
|
||||
#define DW_LANG_Julia 0x001f
|
||||
#define DW_LANG_Dylan 0x0020
|
||||
#define DW_LANG_C_plus_plus_14 0x0021
|
||||
#define DW_LANG_Fortran03 0x0022
|
||||
#define DW_LANG_Fortran08 0x0023
|
||||
#define DW_LANG_RenderScript 0x0024
|
||||
#define DW_LANG_BLISS 0x0025
|
||||
#define DW_LANG_lo_user 0x8000
|
||||
#define DW_LANG_Mips_Assembler 0x8001
|
||||
#define DW_LANG_hi_user 0xffff
|
||||
|
@ -788,6 +788,42 @@ dwarf_get_LANG_name(unsigned lang, const char **s)
|
||||
*s = "DW_LANG_UPC"; break;
|
||||
case DW_LANG_D:
|
||||
*s = "DW_LANG_D"; break;
|
||||
case DW_LANG_Python:
|
||||
*s = "DW_LANG_Python"; break;
|
||||
case DW_LANG_OpenCL:
|
||||
*s = "DW_LANG_OpenCL"; break;
|
||||
case DW_LANG_Go:
|
||||
*s = "DW_LANG_Go"; break;
|
||||
case DW_LANG_Modula3:
|
||||
*s = "DW_LANG_Modula3"; break;
|
||||
case DW_LANG_Haskell:
|
||||
*s = "DW_LANG_Haskell"; break;
|
||||
case DW_LANG_C_plus_plus_03:
|
||||
*s = "DW_LANG_C_plus_plus_03"; break;
|
||||
case DW_LANG_C_plus_plus_11:
|
||||
*s = "DW_LANG_C_plus_plus_11"; break;
|
||||
case DW_LANG_OCaml:
|
||||
*s = "DW_LANG_OCaml"; break;
|
||||
case DW_LANG_Rust:
|
||||
*s = "DW_LANG_Rust"; break;
|
||||
case DW_LANG_C11:
|
||||
*s = "DW_LANG_C11"; break;
|
||||
case DW_LANG_Swift:
|
||||
*s = "DW_LANG_Swift"; break;
|
||||
case DW_LANG_Julia:
|
||||
*s = "DW_LANG_Julia"; break;
|
||||
case DW_LANG_Dylan:
|
||||
*s = "DW_LANG_Dylan"; break;
|
||||
case DW_LANG_C_plus_plus_14:
|
||||
*s = "DW_LANG_C_plus_plus_14"; break;
|
||||
case DW_LANG_Fortran03:
|
||||
*s = "DW_LANG_Fortran03"; break;
|
||||
case DW_LANG_Fortran08:
|
||||
*s = "DW_LANG_Fortran08"; break;
|
||||
case DW_LANG_RenderScript:
|
||||
*s = "DW_LANG_RenderScript"; break;
|
||||
case DW_LANG_BLISS:
|
||||
*s = "DW_LANG_BLISS"; break;
|
||||
case DW_LANG_lo_user:
|
||||
*s = "DW_LANG_lo_user"; break;
|
||||
case DW_LANG_Mips_Assembler:
|
||||
|
Loading…
Reference in New Issue
Block a user