mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 15:42:49 +00:00
6de8b4bc3d
DWARF 5 moves around some fields and adds a few new ones that can't be parsed or ignored by our current DWARF 4 parser. This isn't a complete implementation of DWARF 5, but this is enough to make stack traces mostly work. Line numbers from C++ don't show up, but I know the info is there. I think the answer is to iterate through .debug_line_str in getLineNumberInfo, but I didn't want to fall into an even deeper rabbit hole tonight.
49 lines
1.3 KiB
Zig
49 lines
1.3 KiB
Zig
pub const C89 = 0x0001;
|
|
pub const C = 0x0002;
|
|
pub const Ada83 = 0x0003;
|
|
pub const C_plus_plus = 0x0004;
|
|
pub const Cobol74 = 0x0005;
|
|
pub const Cobol85 = 0x0006;
|
|
pub const Fortran77 = 0x0007;
|
|
pub const Fortran90 = 0x0008;
|
|
pub const Pascal83 = 0x0009;
|
|
pub const Modula2 = 0x000a;
|
|
pub const Java = 0x000b;
|
|
pub const C99 = 0x000c;
|
|
pub const Ada95 = 0x000d;
|
|
pub const Fortran95 = 0x000e;
|
|
pub const PLI = 0x000f;
|
|
pub const ObjC = 0x0010;
|
|
pub const ObjC_plus_plus = 0x0011;
|
|
pub const UPC = 0x0012;
|
|
pub const D = 0x0013;
|
|
pub const Python = 0x0014;
|
|
pub const OpenCL = 0x0015;
|
|
pub const Go = 0x0016;
|
|
pub const Modula3 = 0x0017;
|
|
pub const Haskell = 0x0018;
|
|
pub const C_plus_plus_03 = 0x0019;
|
|
pub const C_plus_plus_11 = 0x001a;
|
|
pub const OCaml = 0x001b;
|
|
pub const Rust = 0x001c;
|
|
pub const C11 = 0x001d;
|
|
pub const Swift = 0x001e;
|
|
pub const Julia = 0x001f;
|
|
pub const Dylan = 0x0020;
|
|
pub const C_plus_plus_14 = 0x0021;
|
|
pub const Fortran03 = 0x0022;
|
|
pub const Fortran08 = 0x0023;
|
|
pub const RenderScript = 0x0024;
|
|
pub const BLISS = 0x0025;
|
|
|
|
pub const lo_user = 0x8000;
|
|
pub const hi_user = 0xffff;
|
|
|
|
pub const Mips_Assembler = 0x8001;
|
|
pub const Upc = 0x8765;
|
|
pub const HP_Bliss = 0x8003;
|
|
pub const HP_Basic91 = 0x8004;
|
|
pub const HP_Pascal91 = 0x8005;
|
|
pub const HP_IMacro = 0x8006;
|
|
pub const HP_Assembler = 0x8007;
|