Commit 29ec409b52

LemonBoy <thatlemon@gmail.com>
2019-04-11 09:55:02
Add definition for DW_AT_alignment
Even though it's been standardized in DWARF5 some compilers produce it anyway for DWARF4 infos too.
1 parent 795b3e9
Changed files (1)
std/dwarf.zig
@@ -241,6 +241,9 @@ pub const AT_const_expr = 0x6c;
 pub const AT_enum_class = 0x6d;
 pub const AT_linkage_name = 0x6e;
 
+// DWARF 5
+pub const AT_alignment = 0x88;
+
 pub const AT_lo_user = 0x2000; // Implementation-defined range start.
 pub const AT_hi_user = 0x3fff; // Implementation-defined range end.