authorgravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2019-04-11 09:55:02+02:00
committergravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2019-04-11 10:36:15+02:00
log29ec409b52827ae815564deaecb8f7529bb47444
tree09ffee2a6261e7d8b4c9dde8880bb9d066497ae0
parent795b3e9b68986a587ac1fc9a2df6d87067d6f955

Add definition for DW_AT_alignment

Even though it's been standardized in DWARF5 some compilers produce it anyway for DWARF4 infos too.

1 files changed, 3 insertions(+), 0 deletions(-)

std/dwarf.zig+3
......@@ -241,6 +241,9 @@ pub const AT_const_expr = 0x6c;
241241pub const AT_enum_class = 0x6d;
242242pub const AT_linkage_name = 0x6e;
243243
244// DWARF 5
245pub const AT_alignment = 0x88;
246
244247pub const AT_lo_user = 0x2000; // Implementation-defined range start.
245248pub const AT_hi_user = 0x3fff; // Implementation-defined range end.
246249