diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2024-08-17 01:15:04 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-17 01:15:04 -0400 |
| commit | bb70501060a8bfff25818cf1d80491d724f8a634 (patch) | |
| tree | 546c8d93fcbdf4e2f3e2656d5d4f45bc79e9d483 /lib/std/dwarf.zig | |
| parent | 90989be0e31a91335f8d1c1eafb84c3b34792a8c (diff) | |
| parent | ed19ecd115beedfbf496c6f20995e74fbcd8ccb4 (diff) | |
| download | zig-bb70501060a8bfff25818cf1d80491d724f8a634.tar.gz zig-bb70501060a8bfff25818cf1d80491d724f8a634.zip | |
Merge pull request #21078 from jacobly0/new-dwarf
Dwarf: rework self-hosted debug info from scratch
Diffstat (limited to 'lib/std/dwarf.zig')
| -rw-r--r-- | lib/std/dwarf.zig | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/std/dwarf.zig b/lib/std/dwarf.zig index 6703574d4e..f836d75ae0 100644 --- a/lib/std/dwarf.zig +++ b/lib/std/dwarf.zig @@ -95,6 +95,9 @@ pub const LNE = struct { pub const set_discriminator = 0x04; pub const lo_user = 0x80; pub const hi_user = 0xff; + + // Zig extensions + pub const ZIG_set_decl = 0xec; }; pub const UT = struct { @@ -118,6 +121,8 @@ pub const LNCT = struct { pub const lo_user = 0x2000; pub const hi_user = 0x3fff; + + pub const LLVM_source = 0x2001; }; pub const RLE = struct { @@ -142,6 +147,37 @@ pub const CC = enum(u8) { GNU_renesas_sh = 0x40, GNU_borland_fastcall_i386 = 0x41, + BORLAND_safecall = 0xb0, + BORLAND_stdcall = 0xb1, + BORLAND_pascal = 0xb2, + BORLAND_msfastcall = 0xb3, + BORLAND_msreturn = 0xb4, + BORLAND_thiscall = 0xb5, + BORLAND_fastcall = 0xb6, + + LLVM_vectorcall = 0xc0, + LLVM_Win64 = 0xc1, + LLVM_X86_64SysV = 0xc2, + LLVM_AAPCS = 0xc3, + LLVM_AAPCS_VFP = 0xc4, + LLVM_IntelOclBicc = 0xc5, + LLVM_SpirFunction = 0xc6, + LLVM_OpenCLKernel = 0xc7, + LLVM_Swift = 0xc8, + LLVM_PreserveMost = 0xc9, + LLVM_PreserveAll = 0xca, + LLVM_X86RegCall = 0xcb, + LLVM_M68kRTD = 0xcc, + LLVM_PreserveNone = 0xcd, + LLVM_RISCVVectorCall = 0xce, + LLVM_SwiftTail = 0xcf, + pub const lo_user = 0x40; pub const hi_user = 0xff; }; + +pub const ACCESS = struct { + pub const public = 0x01; + pub const protected = 0x02; + pub const private = 0x03; +}; |
